Permalink
Browse files

add parens to silence warning

  • Loading branch information...
1 parent 7169b56 commit 44d305c9dac197982bdb8fd7adfc9297c592e3a2 @dchelimsky dchelimsky committed Apr 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/rspec/core/hooks_spec.rb
View
2 spec/rspec/core/hooks_spec.rb
@@ -135,7 +135,7 @@ def yielder
it "requires a block" do
lambda {
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

0 comments on commit 44d305c

Please sign in to comment.