Sha256: e255cac00482fb35c165a46e4f12a144c09760daedfde7cdb6234ead527553ae
Contents?: true
Size: 361 Bytes
Versions: 39
Compression:
Stored size: 361 Bytes
Contents
require 'spec_helper' module Cucumber describe Broadcaster do before do @receiver = mock('receiver') @broadcaster = Broadcaster.new([@receiver]) end it "should broadcast methods to registered objects" do @receiver.should_receive(:konbanwa).with('good evening') @broadcaster.konbanwa('good evening') end end end
Version data entries
39 entries across 37 versions & 9 rubygems