re-enable more i18n related specs

arnaud sellenet committed Mar 31, 2014
commit 92ae85c71f6f7fec492a10f49c7487843445c43c
Showing 3 changed files with 5 additions and 5 deletions
spec/integration/server/basic_spec.rb +2 -2
@@ @@ -15,7 +15,7 @@ describe Locomotive::Steam::Server do
it 'shows the index page' do
get '/index'
-
+
last_response.body.should =~ /Upcoming events/
end
@@ @@ -56,7 +56,7 @@ describe Locomotive::Steam::Server do
last_response.body.should_not =~ /Powered by/
end
- it 'provides translation in scopes', pending: true do
+ it 'provides translation in scopes' do
get '/'
last_response.body.should =~ /scoped_translation=.French./
end
spec/integration/server/contact_form_spec.rb +1 -1
@@ @@ -73,7 +73,7 @@ describe 'ContactForm' do
response.status.should == 200
end
- it 'displays errors', pending: true do
+ it 'displays errors' do
response.body.to_s.should =~ /can't not be blank/
end
spec/integration/server/liquid_spec.rb +2 -2
@@ @@ -44,9 +44,9 @@ describe Locomotive::Steam::Server do
last_response.body.should =~ /Discover: <a href="\/music">Music<\/a>/
end
- it "writes a localized a link", pending: true do
+ it "writes a localized a link" do
get '/events'
- last_response.body.should =~ /Plus à notre sujet: <a href="\/a-notre-sujet">Qui sommes nous \?<\/a>/
+ last_response.body.should =~ /Plus à notre sujet: <a href="\/fr\/a-notre-sujet">Qui sommes nous \?<\/a>/
end
it "writes a link to a page with a custom label" do