diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-03-16 13:00:54 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-03-16 13:00:54 +1100 |
commit | 567785377c57d0567968c7a11f2b9f21bb398d39 (patch) | |
tree | 9521555af1644c96f3b85c5a5dfce75711647c3f | |
parent | 38dda1ff03618df239aa229d26ab50318fdcfe4d (diff) |
Since we have 3 languages in test the URL should be prefixed with the locale
-rw-r--r-- | spec/views/request/show.html.erb_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/request/show.html.erb_spec.rb b/spec/views/request/show.html.erb_spec.rb index 1c1ab8476..4578268b2 100644 --- a/spec/views/request/show.html.erb_spec.rb +++ b/spec/views/request/show.html.erb_spec.rb @@ -85,7 +85,7 @@ describe 'request/show' do it 'should show a link to follow up the last response with clarification' do request_page - expected_url = "/request/#{@mock_request.id}/response/#{@mock_response.id}#followup" + expected_url = "/en/request/#{@mock_request.id}/response/#{@mock_response.id}#followup" response.should have_selector("a", :href => expected_url, :content => 'send a follow up message') end @@ -100,7 +100,7 @@ describe 'request/show' do it 'should show a link to follow up the request without reference to a specific response' do request_page - expected_url = "/request/#{@mock_request.id}/response#followup" + expected_url = "/en/request/#{@mock_request.id}/response#followup" response.should have_selector("a", :href => expected_url, :content => 'send a follow up message') end end |