Sha256: 93810fafb15a92516549e6e1c711f344a3d277c3a6357dcbc6e685ad801c29f9
Contents?: true
Size: 364 Bytes
Versions: 25
Compression:
Stored size: 364 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' module Cucumber describe Broadcaster do it "should broadcast methods to registered objects" do receiver = mock('receiver') broadcaster = Broadcaster.new([receiver]) receiver.should_receive(:konbanwa).with('good evening') broadcaster.konbanwa('good evening') end end end
Version data entries
25 entries across 25 versions & 2 rubygems