Permalink
Browse files

Removed un-needed brackets from example

  • Loading branch information...
1 parent e63b9d4 commit 107908879fa0ce8d3a416dc6a07591e1aedb3be4 @jamesalmond committed Jan 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 features/built_in_matchers/expect_error.feature
View
2 features/built_in_matchers/expect_error.feature
@@ -70,7 +70,7 @@ Feature: expect error
it "should pass the error to the block" do
expected_error = StandardError.new
actual_error = nil
- expect{raise expected_error}.to raise_error(){|block_error|
+ expect{raise expected_error}.to raise_error{|block_error|
actual_error = block_error
}
actual_error.should eq(expected_error)

0 comments on commit 1079088

Please sign in to comment.