Sha256: adfead37f2a969dd362d7e74bd6cce11f351e5b03b7f9d36983c490e35962118
Contents?: true
Size: 263 Bytes
Versions: 7
Compression:
Stored size: 263 Bytes
Contents
require 'bacon' require 'muack' include Muack::API describe 'Hello' do before{ Muack.reset } after { Muack.verify } should 'say world!' do str = 'Hello' mock(str).say('!'){ |arg| "World#{arg}" } str.say('!').should.equal 'World!' end end
Version data entries
7 entries across 7 versions & 1 rubygems