Permalink
Browse files

Remove behaviour key from metadata

  • Loading branch information...
1 parent 9ef6385 commit 6f254ac60a95aab7eafc56f0f19267ca9cb6412a @dchelimsky dchelimsky committed Sep 19, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/rspec/core/metadata.rb
@@ -10,12 +10,10 @@ def initialize(superclass_metadata=nil)
end
store(:example_group, example_group || {})
- store(:behaviour, self[:example_group])
yield self if block_given?
end
RESERVED_KEYS = [
- :behaviour,
:description,
:example_group,
:execution_result,
@@ -127,7 +125,7 @@ def superclass_metadata
end
def description_from(args)
- @description_from_args ||= args.map{|a| a.to_s.strip}.join(" ")
+ args.map{|a| a.to_s.strip}.join(" ")
end
def full_description_from(args)

0 comments on commit 6f254ac

Please sign in to comment.