Sha256: f03fceac8d6f6ab1e267ec5033421dd657067ce4ad9752a7cb30d47ac0868d7a
Contents?: true
Size: 268 Bytes
Versions: 1
Compression:
Stored size: 268 Bytes
Contents
require 'helper' describe OpenAmplify::Error do it 'should raise error when wrong or missing api key' do client = OpenAmplify::Client.new(:api_key => 'some random key') lambda { client.amplify 'sample' }.must_raise OpenAmplify::Error::Forbidden end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openamplify-0.3.0 | test/openamplify/error_test.rb |