module Shoulda::Matchers::Integrations

@private

Public Class Methods

find_library!(name) click to toggle source
# File lib/shoulda/matchers/integrations.rb, line 10
def find_library!(name)
  library_registry.find!(name)
end
find_test_framework!(name) click to toggle source
# File lib/shoulda/matchers/integrations.rb, line 18
def find_test_framework!(name)
  test_framework_registry.find!(name)
end
register_library(klass, name) click to toggle source
# File lib/shoulda/matchers/integrations.rb, line 6
def register_library(klass, name)
  library_registry.register(klass, name)
end
register_test_framework(klass, name) click to toggle source
# File lib/shoulda/matchers/integrations.rb, line 14
def register_test_framework(klass, name)
  test_framework_registry.register(klass, name)
end

Private Class Methods

library_registry() click to toggle source
# File lib/shoulda/matchers/integrations.rb, line 24
def library_registry
  @_library_registry ||= Registry.new
end
test_framework_registry() click to toggle source
# File lib/shoulda/matchers/integrations.rb, line 28
def test_framework_registry
  @_test_framework_registry ||= Registry.new
end