Sha256: d1f08c61c8ad299b5c78c0f6d3ac5fbc5dfd5854647fc2fa75272ca1afee4961
Contents?: true
Size: 502 Bytes
Versions: 8
Compression:
Stored size: 502 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/test_helper") class TestAttachments < MiniTest::Unit::TestCase def test_get_attachments with_app do |app_data| response = heroku.get_attachments(app_data['name']) assert_equal(200, response.status) assert_equal( [], response.body ) end end def test_get_attachments_app_not_found assert_raises(Heroku::API::Errors::NotFound) do heroku.get_attachments(random_name) end end end
Version data entries
8 entries across 8 versions & 2 rubygems