diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-02-08 09:40:13 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-02-08 09:40:13 +1100 |
commit | f142cd59517b098386d90a4feee9c0a26692ee02 (patch) | |
tree | 54731e1a208c7cc8e175e1f91318134b4e3fec63 | |
parent | b3b468af99b2650bd8637ac2e06c865315bf7703 (diff) |
In test we have 3 available locales so these URLs should contain the locale in the path
-rw-r--r-- | spec/views/request/show.rhtml_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/request/show.rhtml_spec.rb b/spec/views/request/show.rhtml_spec.rb index 7673fec9c..cc5226847 100644 --- a/spec/views/request/show.rhtml_spec.rb +++ b/spec/views/request/show.rhtml_spec.rb @@ -84,7 +84,7 @@ describe 'when viewing an information request' do it 'should show a link to follow up the last response with clarification' do request_page - expected_url = "http://test.host/request/#{@mock_request.id}/response/#{@mock_response.id}#followup" + expected_url = "http://test.host/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 @@ -99,7 +99,7 @@ describe 'when viewing an information request' do it 'should show a link to follow up the request without reference to a specific response' do request_page - expected_url = "http://test.host/request/#{@mock_request.id}/response#followup" + expected_url = "http://test.host/en/request/#{@mock_request.id}/response#followup" response.should have_selector("a", :href => expected_url, :content => 'send a follow up message') end end |