Change an expectation in Condition::DSL specs
This commit is contained in:
parent
5455955fd2
commit
6b46fac76f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user