mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
Merge pull request #650 from chef/dr/rspec-world
bugfix: rspec world handling on rspec 3.5
This commit is contained in:
commit
8071fe4a66
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|||
spec.add_dependency 'rainbow', '~> 2'
|
||||
spec.add_dependency 'method_source', '~> 0.8'
|
||||
spec.add_dependency 'rubyzip', '~> 1.1'
|
||||
spec.add_dependency 'rspec', '~> 3.3'
|
||||
spec.add_dependency 'rspec', '~> 3'
|
||||
spec.add_dependency 'rspec-its', '~> 1.2'
|
||||
spec.add_dependency 'pry', '~> 0'
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ module Inspec
|
|||
# @return [nil]
|
||||
def add_test(example, rule_id, rule)
|
||||
set_rspec_ids(example, rule_id, rule)
|
||||
@tests.register(example)
|
||||
@tests.example_groups.push(example)
|
||||
end
|
||||
|
||||
# Retrieve the list of tests that have been added.
|
||||
|
|
Loading…
Add table
Reference in a new issue