Sha256: 06c7f74d517b8d32319f7e76a335589dfc052d0854e48271553a8cb04373adf2
Contents?: true
Size: 268 Bytes
Versions: 8
Compression:
Stored size: 268 Bytes
Contents
require 'spec_helper' require 'handler' describe 'handler(event)' do let(:event) {SpecHelper::Event.new} it 'should return Hash, String or Array' do body = handler(event).call.body expect([String, Hash, Array, ].include? body.class).to be true end end
Version data entries
8 entries across 8 versions & 1 rubygems