spec/heroku/scalr/app_spec.rb in heroku-scalr-0.2.2 vs spec/heroku/scalr/app_spec.rb in heroku-scalr-0.2.3
- old
+ new
@@ -7,10 +7,10 @@
def mock_response(status, body)
mock "APIResponse", status: status, headers: {}, body: body
end
its(:name) { should == 'name' }
- its(:http) { should be_instance_of(Excon::Connection) }
+ its(:url) { should == 'http://name.herokuapp.com/robots.txt' }
its(:api) { should be_instance_of(Heroku::API) }
its(:metric) { should be_instance_of(Heroku::Scalr::Metric::Ping) }
its(:interval) { should be(30) }
its(:min_dynos) { should be(1) }
\ No newline at end of file