From 7cbdc3ac3579d64a82d44204521e6de852d858c6 Mon Sep 17 00:00:00 2001 From: Hagen Schink Date: Mon, 7 Jul 2014 11:45:36 +0200 Subject: [PATCH] Fix pending textilizable specs --- spec/helpers/application_helper_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index ec45fed8b2..747094c9bf 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -227,7 +227,7 @@ describe ApplicationHelper, :type => :helper do end context "Version link" do - let(:version) { FactoryGirl.create :version, + let!(:version) { FactoryGirl.create :version, :name => '1.0', :project => project } let(:version_link) { link_to('1.0', @@ -242,13 +242,13 @@ describe ApplicationHelper, :type => :helper do context "Link with version" do subject { textilizable("version:1.0") } - xit { is_expected.to eq("

#{version_link}

") } + it { is_expected.to eq("

#{version_link}

") } end context "Link with quoted version" do subject { textilizable('version:"1.0"') } - xit { is_expected.to eq("

#{version_link}

") } + it { is_expected.to eq("

#{version_link}

") } end context "Escaping link with version id" do