Permalink
Browse files

clean up the lines on bin_spec so they aren't so long.

  • Loading branch information...
1 parent 933ccb2 commit 5cf448a2fe9c6539a89e802f3843e66bceac6320 @jfredett committed Nov 4, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 spec/bin_spec.rb
View
@@ -61,11 +61,14 @@ def run_with(arg, email = "")
end
it "should print to STDOUT the location it intends to write the file" do
- run_with('--dry-run', @email.to_s)[:result].should =~ %r|writing email to: /tmp/\.mail/foo/|
+ run_with('--dry-run', @email.to_s)[:result].
+ should =~ %r|writing email to: /tmp/\.mail/foo/|
end
it "should write to the destination specified by #error_dest when an exception is raised during sorting" do
- run_with('--dry-run', @failing_email.to_s)[:result].should =~ %r|writing email to: /tmp/\.mail/errors/|
+ run_with('--dry-run', @failing_email.to_s)[:result].
+ should =~ %r|writing email to: /tmp/\.mail/errors/|
+ end
end
end
end

0 comments on commit 5cf448a

Please sign in to comment.