Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
spec style
Browse files Browse the repository at this point in the history
  • Loading branch information
nevir committed Apr 6, 2012
1 parent 3ce274a commit 4fcd396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/wtf_spec.rb
Expand Up @@ -71,7 +71,7 @@ def singleton_thing
end

it "should raise a sane error if a method doesn't ext" do
proc { Thing.new.wtf? :not_here, false }.should raise_error(NameError)
expect { Thing.new.wtf? :not_here, false }.to raise_error(NameError)
end

end

0 comments on commit 4fcd396

Please sign in to comment.