diff --git a/spec/muzang_spec.rb b/spec/muzang_spec.rb index 144f636..23e5116 100644 --- a/spec/muzang_spec.rb +++ b/spec/muzang_spec.rb @@ -33,7 +33,7 @@ end it "should join to channels" do - message_expectation = @muzang.bot.irc.on_connect.should_receive(:call).once + message_expectation = @muzang.bot.irc.on_connect.should_receive(:call).once connection = @muzang.start connection.connection_completed eventually(true, :every => 1, :total => 3) { message_expectation.instance_variable_get(:@actual_received_count) == 1 }