Permalink
Browse files

describes is available directly on metadata

- no need to go through [:behaviour]
  • Loading branch information...
1 parent 5fd7bb3 commit eed74c97692d04c3de7f1183cb50b34ab41290c7 @dchelimsky dchelimsky committed Feb 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/core/example.rb
@@ -14,7 +14,7 @@ def description
end
def described_class
- @metadata[:behaviour][:describes]
+ @metadata[:describes]
end
def record_results(results={})

0 comments on commit eed74c9

Please sign in to comment.