Skip to content

Commit

Permalink
Failing to catch
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradIrwin committed Feb 3, 2012
1 parent 612502a commit 7c2d84b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions em-imap.gemspec
Expand Up @@ -17,6 +17,7 @@ Gem::Specification.new do |gem|
gem.add_dependency 'deferrable_gratification'

gem.add_development_dependency 'rspec'
gem.add_development_dependency 'plymouth'

gem.files = Dir[*%w(
lib/em-imap.rb
Expand Down
1 change: 1 addition & 0 deletions spec/formatter_spec.rb
Expand Up @@ -68,6 +68,7 @@
end

it "should format complex commands correctly" do
raise "yamn"
@format.call(EM::IMAP::Command.new('RUBY1234', 'FETCH', [[Net::IMAP::MessageSet.new([1,2,3])], 'BODY'])).should == ["RUBY1234 FETCH (1,2,3) BODY\r\n"]
end
end
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Expand Up @@ -5,4 +5,5 @@ def post_init; end
def close_connection; unbind; end
end

require 'plymouth'
require File.dirname( __FILE__ ) + "/../lib/em-imap"

0 comments on commit 7c2d84b

Please sign in to comment.