Sha256: b7cd10cf2d252bafdf71913594b1cde2c71e14153fdccf2c2e41f2c9ca8cfed8

Contents?: true

Size: 828 Bytes

Versions: 1

Compression:

Stored size: 828 Bytes

Contents

require 'always_execute/version'

if defined?(Shoulda::Context::Context)
  require 'always_execute/shoulda_execute'
  require 'always_execute/shoulda_expects'

  class Shoulda::Context::Context
    include AlwaysExecute::ShouldaExecute
    include AlwaysExecute::ShouldaExpects
  end
elsif defined?(Shoulda::Context) && Shoulda::Context.instance_methods.include?(:should)
  require 'always_execute/shoulda_execute'
  require 'always_execute/shoulda_expects'

  class Shoulda::Context
    include AlwaysExecute::ShouldaExecute
    include AlwaysExecute::ShouldaExpects
  end
end

if defined?(RSpec)
  require 'always_execute/rspec_execute'
  require 'always_execute/rspec_expects'

  RSpec.configure do |config|
    config.backtrace_exclusion_patterns ||= []
    config.backtrace_exclusion_patterns << /always_execute/
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
always_execute-0.2.3 lib/always_execute.rb