Sha256: fa5ea679ba6e8a7355cf7da9fabfeebc5625f915fdd8a7e7a94e17ca9721b263

Contents?: true

Size: 489 Bytes

Versions: 9

Compression:

Stored size: 489 Bytes

Contents

require 'clearance/testing/assertion_error'
require 'clearance/testing/deny_access_matcher'
require 'clearance/testing/helpers'

if defined?(Test::Unit::TestCase)
  Test::Unit::TestCase.extend Clearance::Testing::Matchers
  class Test::Unit::TestCase
    include Clearance::Testing::Helpers
  end
end

if defined?(RSpec) && RSpec.respond_to?(:configure)
  RSpec.configure do |config|
    config.include Clearance::Testing::Matchers
    config.include Clearance::Testing::Helpers
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
clearance-0.16.3 lib/clearance/testing.rb
clearance-0.16.2 lib/clearance/testing.rb
clearance-0.16.1 lib/clearance/testing.rb
clearance-0.16.0 lib/clearance/testing.rb
clearance-0.15.0 lib/clearance/testing.rb
clearance-0.14.0 lib/clearance/testing.rb
clearance-0.13.2 lib/clearance/testing.rb
clearance-0.13.0 lib/clearance/testing.rb
clearance-0.12.0 lib/clearance/testing.rb