spec/client_spec.rb in stomper-0.3.2 vs spec/client_spec.rb in stomper-0.4
- old
+ new
@@ -64,9 +64,12 @@
@client.should respond_to(:close)
end
it "should provide a connectivity test" do
@client.should respond_to(:connected?)
end
+ it "should provide a connect method" do
+ @client.should respond_to(:connect)
+ end
end
describe "threaded receiver" do
it "should respond to start and stop" do
@client.should respond_to(:start)
\ No newline at end of file