Skip to content
Browse files

Merge pull request #549 from dvyjones/fix-shortener-spec

Fix the shortener spec
  • Loading branch information...
2 parents 4b14811 + 6503796 commit b89f93e0e50bf1045a016ffd45609982b66bca9c @svenfuchs svenfuchs committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/requests/shortener_controller_spec.rb
View
2 spec/requests/shortener_controller_spec.rb
@@ -5,7 +5,7 @@
it 'should redirect to travis-ci.org' do
get '/', nil, { 'HTTP_HOST' => 'trvs.io' }
response.should be_redirect
- response.should redirect_to 'http://travis-ci.org'
+ response.should redirect_to "http://#{Travis.config.host}"
end
end

0 comments on commit b89f93e

Please sign in to comment.
Something went wrong with that request. Please try again.