Permalink
Browse files

Improve a throw spec.

  • Loading branch information...
postmodern committed Aug 12, 2012
1 parent 9513e9d commit 569135bc37edba86911c365534ad305dc4db042d
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/extractor_spec.rb
View
@@ -9,8 +9,8 @@
end
describe "abort!" do
- it "should throw :return" do
- lambda { subject.abort! }.should throw_symbol :return
+ it "should throw :return, 1" do
+ lambda { subject.abort! }.should throw_symbol(:return, 1)
end
end

0 comments on commit 569135b

Please sign in to comment.