Skip to content
Browse files

RSpec 2.12

  • Loading branch information...
1 parent e973afa commit ff24774e2309e6357d93a31e19d3b2fb1430421a @sandro committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/specjour/rspec/final_report.rb
  2. +1 −1 specjour.gemspec
View
2 lib/specjour/rspec/final_report.rb
@@ -31,7 +31,7 @@ def metadata_for_examples(metadata_collection)
metadata_collection.map do |partial_metadata|
example = ::RSpec::Core::Example.allocate
example.instance_variable_set(:@example_group_class,
- OpenStruct.new(:metadata => {}, :ancestors => [])
+ OpenStruct.new(:metadata => {}, :ancestors => [], :parent_groups => [])
)
metadata = ::RSpec::Core::Metadata.new
metadata.merge! partial_metadata
View
2 specjour.gemspec
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('dnssd', ['= 2.0.0'])
s.add_runtime_dependency('thor', ['>= 0.14.0'])
- s.add_development_dependency('rspec', ['2.11'])
+ s.add_development_dependency('rspec', ['= 2.12'])
s.add_development_dependency('rr')
s.add_development_dependency('cucumber', ['>= 1.2.1'])
s.add_development_dependency('yard')

0 comments on commit ff24774

Please sign in to comment.
Something went wrong with that request. Please try again.