Change an expectation in Condition::DSL specs

This commit is contained in:
Thibault Jouan 2014-01-20 01:03:37 +00:00
parent 5455955fd2
commit 6b46fac76f

View File

@ -27,7 +27,7 @@ module Producer::Core
context 'when a test keyword is called' do
it 'registers the test' do
expect { dsl.some_test }.to change { dsl.tests.count }.from(0).to(1)
expect { dsl.some_test }.to change { dsl.tests.count }.by 1
end
it 'registers the test with current env' do