Sha256: aefcfdc077c104268e855594a1592e594bf371e3899feb8840e21267c2b19e55
Contents?: true
Size: 344 Bytes
Versions: 12
Compression:
Stored size: 344 Bytes
Contents
require 'spec_helper' require 'handler' describe 'handler(event)' do let(:event) {SpecHelper::Event.new} it 'should return a String' do body = handler(event).call.body expect(body).to be_a(String) end it 'should reply Hello, World!' do body = handler(event).call.body expect(body).to be == "Hello, World!\n" end end
Version data entries
12 entries across 12 versions & 1 rubygems