From 33748ede312fe2ed16f02c4c38767e27d1712f16 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Wed, 11 Mar 2015 16:00:45 -0300 Subject: [PATCH] Remove by qualifier in neg. #change expectation No longer supported. Signed-off-by: Alex Coles --- .../work_package/work_package_acts_as_journalized_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/work_package/work_package_acts_as_journalized_spec.rb b/spec/models/work_package/work_package_acts_as_journalized_spec.rb index 34605a17fb..46fd52d23b 100644 --- a/spec/models/work_package/work_package_acts_as_journalized_spec.rb +++ b/spec/models/work_package/work_package_acts_as_journalized_spec.rb @@ -73,7 +73,7 @@ describe WorkPackage, type: :model do end it 'is not created' do - expect { work_package.save! }.to_not change { work_package.journals.length }.by(1) + expect { work_package.save! }.to_not change { work_package.journals.length } end end