Skip to content

Commit

Permalink
i shall not be in hurry
Browse files Browse the repository at this point in the history
  • Loading branch information
godfat committed Dec 18, 2014
1 parent 0aca28e commit e82643d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_universal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
would 'follow redirect regardless response body' do
called = []
stub_request(:get, url).to_return(:body => 'bad json!',
:status => 302, :headers => {'Location' => "#{url}a"})
:status => 302, :headers => {'Location' => "#{url}/a"})
stub_request(:get, "#{url}/a").to_return do
Thread.pass
{:body => '{"good":"json!"}'}
Expand Down

0 comments on commit e82643d

Please sign in to comment.