spec/spec_helper.rb in data_magic-0.19 vs spec/spec_helper.rb in data_magic-0.20

- old
+ new

@@ -16,14 +16,14 @@ RSpec::Matchers.define :have_field_value do |expected| match do |actual| actual['field'] == expected end - failure_message_for_should do |actual| + failure_message do |actual| "expected '#{expected}' to equal the field value '#{actual['field']}'" end - failure_message_for_should_not do |actual| + failure_message_when_negated do |actual| "expected '#{expected}' to not equal to field value '#{actual['field']}'" end end