Sha256: e96c72e270c5428107b8978be1b546e899670fcaeb9ce722cef0201467d2e51d

Contents?: true

Size: 350 Bytes

Versions: 29

Compression:

Stored size: 350 Bytes

Contents

if defined?(RSpec)
  require 'clearance/rspec'
elsif defined?(ActionController::TestCase)
  require 'clearance/test_unit'
end

warn(
  "#{Kernel.caller.first} [DEPRECATION] Requiring `clearance/testing` in " +
  '`spec/spec_helper.rb` (or in `test/test_helper.rb`) is deprecated. ' +
  'Require `clearance/rspec` or `clearance/test_unit` instead.'
)

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
clearance-1.17.0 lib/clearance/testing.rb
clearance-1.16.2 lib/clearance/testing.rb
clearance-1.16.1 lib/clearance/testing.rb
clearance-1.16.0 lib/clearance/testing.rb
clearance-1.15.1 lib/clearance/testing.rb
clearance-1.15.0 lib/clearance/testing.rb
clearance-1.14.2 lib/clearance/testing.rb
clearance-1.14.1 lib/clearance/testing.rb
clearance-1.14.0 lib/clearance/testing.rb
clearance-1.13.0 lib/clearance/testing.rb
clearance-1.12.1 lib/clearance/testing.rb
clearance-1.12.0 lib/clearance/testing.rb
clearance-1.11.0 lib/clearance/testing.rb
clearance-1.10.1 lib/clearance/testing.rb
clearance-1.9.0 lib/clearance/testing.rb
clearance-1.8.1 lib/clearance/testing.rb
clearance-1.8.0 lib/clearance/testing.rb
clearance-1.7.0 lib/clearance/testing.rb
clearance-1.6.1 lib/clearance/testing.rb
clearance-1.6.0 lib/clearance/testing.rb