Sha256: 8846efcb698b8018edf8404af5e81a4a71c128bfa9eab60a2a8cdddb8c24a872

Contents?: true

Size: 464 Bytes

Versions: 4

Compression:

Stored size: 464 Bytes

Contents

require 'rspec/expectations'

module Arrthorizer
  module RSpec
    autoload :Matchers,       'arrthorizer/rspec/matchers'
    autoload :SharedExamples, 'arrthorizer/rspec/shared_examples'
  end

  role_spec = {
      type: :role,
      example_group: { 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
end


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arrthorizer-0.3.1 lib/arrthorizer/rspec.rb
arrthorizer-0.3.0 lib/arrthorizer/rspec.rb
arrthorizer-0.2.1 lib/arrthorizer/rspec.rb
arrthorizer-0.2.0 lib/arrthorizer/rspec.rb