Fix pending textilizable specs

pull/1461/head
Hagen Schink 10 years ago
parent b6285c144f
commit 7cbdc3ac35
  1. 6
      spec/helpers/application_helper_spec.rb

@ -227,7 +227,7 @@ describe ApplicationHelper, :type => :helper do
end end
context "Version link" do context "Version link" do
let(:version) { FactoryGirl.create :version, let!(:version) { FactoryGirl.create :version,
:name => '1.0', :name => '1.0',
:project => project } :project => project }
let(:version_link) { link_to('1.0', let(:version_link) { link_to('1.0',
@ -242,13 +242,13 @@ describe ApplicationHelper, :type => :helper do
context "Link with version" do context "Link with version" do
subject { textilizable("version:1.0") } subject { textilizable("version:1.0") }
xit { is_expected.to eq("<p>#{version_link}</p>") } it { is_expected.to eq("<p>#{version_link}</p>") }
end end
context "Link with quoted version" do context "Link with quoted version" do
subject { textilizable('version:"1.0"') } subject { textilizable('version:"1.0"') }
xit { is_expected.to eq("<p>#{version_link}</p>") } it { is_expected.to eq("<p>#{version_link}</p>") }
end end
context "Escaping link with version id" do context "Escaping link with version id" do

Loading…
Cancel
Save