Sha256: 307e0ddd4a8aaa941cd1c1561f4c3538e147241927b5fc4ec95a34699f52f7bb
Contents?: true
Size: 736 Bytes
Versions: 15
Compression:
Stored size: 736 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 ] 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
15 entries across 15 versions & 1 rubygems