Permalink
Browse files

Spec IMAP connection more thoroughly

  • Loading branch information...
1 parent 434fb6f commit e95773cb0c788934ddc7780030995d4f8fb55db5 @ConradIrwin committed Jul 2, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 spec/command_sender_spec.rb
  2. +1 −0 spec/continuation_synchronisation_spec.rb
@@ -6,6 +6,7 @@
@command_sender = Class.new(EMStub) do
include EM::IMAP::Connection
end.new
+ @command_sender.receive_data("* OK Ready to test!\r\n")
end
describe "#send_authentication_data" do
@@ -5,6 +5,7 @@
@connection = Class.new(EMStub) do
include EM::IMAP::Connection
end.new
+ @connection.receive_data "* OK Ready to test!\r\n"
end
it "should allow things to happen when nothing is waiting" do

0 comments on commit e95773c

Please sign in to comment.