lib/arrthorizer/rspec.rb in arrthorizer-0.3.1 vs lib/arrthorizer/rspec.rb in arrthorizer-0.3.2
- old
+ new
@@ -5,12 +5,12 @@
autoload :Matchers, 'arrthorizer/rspec/matchers'
autoload :SharedExamples, 'arrthorizer/rspec/shared_examples'
end
role_spec = {
- type: :role,
- example_group: { file_path: %r(spec/roles) }
- }
+ type: :role,
+ file_path: %r(spec/roles)
+ }
::RSpec.configure do |config|
config.include Arrthorizer::RSpec::Matchers::Roles, role_spec
config.include Arrthorizer::RSpec::SharedExamples, role_spec
end