Sha256: cd3184a60e05c87abb8993642e566d4064d7ea9c223b69a998951907a130e211

Contents?: true

Size: 292 Bytes

Versions: 5

Compression:

Stored size: 292 Bytes

Contents

require File.expand_path("#{File.dirname(__FILE__)}/test_helper")

class TestErrorConditions < MiniTest::Unit::TestCase

  def test_request_without_app_returns_a_sensible_error
    assert_raises(Heroku::API::Errors::NilApp) do
      heroku.delete_domain("", 'example.com')
    end
  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
heroku-api-0.3.11 test/test_error_conditions.rb
heroku-api-0.3.10 test/test_error_conditions.rb
pogoapp-api-0.3.8 test/test_error_conditions.rb
heroku-api-0.3.9 test/test_error_conditions.rb
heroku-api-0.3.8 test/test_error_conditions.rb