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

Version Path
aslakhellesoy-cucumber-0.1.100.1 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.16.5 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.1 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.10 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.11 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.12 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.13 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.14 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.15 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.17 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.18 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.19 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.2 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.20 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.21 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.22 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.23 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.3 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.5 spec/cucumber/broadcaster_spec.rb
aslakhellesoy-cucumber-0.1.99.6 spec/cucumber/broadcaster_spec.rb