Skip to content

Commit

Permalink
add parens to silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Apr 15, 2011
1 parent 7169b56 commit 44d305c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rspec/core/hooks_spec.rb
Expand Up @@ -135,7 +135,7 @@ def yielder
it "requires a block" do it "requires a block" do
lambda { lambda {
Hooks::BeforeHook.new :foo => :bar Hooks::BeforeHook.new :foo => :bar
}.should raise_error "no block given for before hook" }.should raise_error("no block given for before hook")
end end
end end
end end
Expand Down

0 comments on commit 44d305c

Please sign in to comment.