Skip to content

Commit

Permalink
Fix the shortener spec
Browse files Browse the repository at this point in the history
This wasn't actually failing on Travis, but it was failing for me locally. Go
figure.
  • Loading branch information
sarahhodne committed May 18, 2012
1 parent 4b14811 commit 6503796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/shortener_controller_spec.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
it 'should redirect to travis-ci.org' do it 'should redirect to travis-ci.org' do
get '/', nil, { 'HTTP_HOST' => 'trvs.io' } get '/', nil, { 'HTTP_HOST' => 'trvs.io' }
response.should be_redirect response.should be_redirect
response.should redirect_to 'http://travis-ci.org' response.should redirect_to "http://#{Travis.config.host}"
end end
end end


Expand Down

0 comments on commit 6503796

Please sign in to comment.