test/test_logs.rb in heroku-api-0.2.0 vs test/test_logs.rb in heroku-api-0.2.1

- old
+ new

@@ -9,9 +9,18 @@ assert_equal(200, response.status) assert_match(%r{^https://logplex\.heroku\.com/sessions/[-a-zA-Z0-9]*\?srv=[0-9]*$}, response.body) end end + def test_get_logs_no_options + with_app do |app_data| + response = heroku.get_logs(app_data['name']) + + assert_equal(200, response.status) + assert_match(%r{^https://logplex\.heroku\.com/sessions/[-a-zA-Z0-9]*\?srv=[0-9]*$}, response.body) + end + end + def test_get_logs_app_not_found assert_raises(Heroku::API::Errors::NotFound) do heroku.get_logs(random_name, 'logplex' => true) end end