spec/motd_spec.rb in muzang-plugins-1.0.2 vs spec/motd_spec.rb in muzang-plugins-1.1.0
- old
+ new
@@ -9,10 +9,10 @@
@bot.stub(:plugins => { Motd => @motd })
@connection = stub(:msg => true, :nick => "DRUG-bot")
end
it "should send message after join to channel" do
- @connection.should_receive(:msg).with("#test", "DRUG-bot | Version: #{Muzang::VERSION} | Plugins: *Motd* ")
+ @connection.should_receive(:msg).with("#test", "Muzang | Version: #{Muzang::VERSION} | Plugins: *Motd* ")
@motd.call(@connection, @message)
end
end