Sha256: 286330a1934d1730c51c56582a70399d44239c3e2a78b0995fcc02b28a61a1e8
Contents?: true
Size: 744 Bytes
Versions: 13
Compression:
Stored size: 744 Bytes
Contents
module Shoulda module Matchers module Integrations module Libraries # @private class Rails Integrations.register_library(self, :rails) include Integrations::Rails SUB_LIBRARIES = [ :active_model, :active_record, :action_controller, :routing, ].freeze def integrate_with(test_framework) Shoulda::Matchers.assertion_exception_class = ActiveSupport::TestCase::Assertion SUB_LIBRARIES.each do |name| library = Integrations.find_library!(name) library.integrate_with(test_framework) end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems