mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00

- bump rubocop to v1.0 - Fix Layout/MultilineAssignmentLayout and other remaining offences - Exculde appraisal generated gemfiles in rubocop - Replace NON_NUMERIC_VALUE constant with instance method against failing test case in rails <= 5.1 and postgres adapter. This is a defect in rails where a frozen string is modified in https://github.com/rails/rails/blob/v5.1.7/activerecord/lib/active_record/connection_adapters/postgresql/oid/money.rb#L25
19 lines
346 B
Ruby
19 lines
346 B
Ruby
module Shoulda
|
|
module Matchers
|
|
module Integrations
|
|
module Libraries
|
|
# @private
|
|
class MissingLibrary
|
|
Integrations.register_library(self, :missing_library)
|
|
|
|
def integrate_with(test_framework)
|
|
end
|
|
|
|
def rails?
|
|
false
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|