lib/gumboot/shared_examples/database_schema.rb in aaf-gumboot-2.1.0 vs lib/gumboot/shared_examples/database_schema.rb in aaf-gumboot-2.1.1
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
RSpec.shared_examples 'Database Schema' do
context 'AAF shared implementation' do
RSpec::Matchers.define :have_collations do |expected, name|
- match { |actual| expected.include?[actual[:Collation]] }
+ match { |actual| expected.include?(actual[:Collation]) }
failure_message do |actual|
"expected #{name} to use collation #{expected.join(' or ')}, but was " \
"#{actual[:Collation]}"
end