Sha256: 7c438562a88bfb53d32d65bff18792c5ff696c89fbe160543a100096c01d1b4d
Contents?: true
Size: 610 Bytes
Versions: 4
Compression:
Stored size: 610 Bytes
Contents
require 'clearance/testing/assertion_error' require 'clearance/testing/deny_access_matcher' require 'clearance/testing/helpers' Clearance.configure do |config| config.password_strategy = Clearance::PasswordStrategies::Fake end if defined?(ActionController::TestCase) ActionController::TestCase.extend Clearance::Testing::Matchers class ActionController::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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
clearance-1.0.0.rc4 | lib/clearance/testing.rb |
clearance-1.0.0.rc3 | lib/clearance/testing.rb |
clearance-1.0.0.rc2 | lib/clearance/testing.rb |
clearance-1.0.0.rc1 | lib/clearance/testing.rb |