Sha256: d60b00eae6cbdbfb23187a2ed07c083e4e016b0c72f5df88a50ba391cf7d8571

Contents?: true

Size: 603 Bytes

Versions: 4

Compression:

Stored size: 603 Bytes

Contents

require 'shoulda/context/test_framework_detection'
require 'shoulda/context/version'
require 'shoulda/context/proc_extensions'
require 'shoulda/context/assertions'
require 'shoulda/context/context'
require 'shoulda/context/autoload_macros'

module ShouldaContextLoadable
  def self.included(base)
    base.class_eval do
      include Shoulda::Context::Assertions
      include Shoulda::Context::InstanceMethods
    end
    base.extend(Shoulda::Context::ClassMethods)
  end
end

Shoulda::Context.test_framework_test_cases.each do |test_case|
  test_case.class_eval { include ShouldaContextLoadable }
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
shoulda-context-1.2.2 lib/shoulda/context.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/shoulda-context-1.2.1/lib/shoulda/context.rb
shoulda-context-1.2.1 lib/shoulda/context.rb
shoulda-context-1.2.0 lib/shoulda/context.rb