spec/cfoundry/errors_spec.rb in cfoundry-2.4.0 vs spec/cfoundry/errors_spec.rb in cfoundry-2.4.1.rc1

- old
+ new

@@ -19,10 +19,10 @@ its(:to_s) { should eq "Invalid target URI: #{target}"} its(:target) { should eq target } end describe CFoundry::APIError do - let(:request) { { :method => "GET", :url => "http://api.cloudfoundry.com/foo", :headers => {} } } + let(:request) { { :method => "GET", :url => "http://api.example.com/foo", :headers => {} } } let(:response_body) { "NOT FOUND" } let(:response) { { :status => 404, :headers => {}, :body => response_body } } subject { CFoundry::APIError.new(nil, nil, request, response) }