Remove by qualifier in neg. #change expectation

No longer supported.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2682/head
Alex Coles 10 years ago
parent 6cd0cad516
commit 33748ede31
  1. 2
      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

Loading…
Cancel
Save