Change an expectation in Condition::DSL specs
This commit is contained in:
@@ -27,7 +27,7 @@ module Producer::Core
|
|||||||
|
|
||||||
context 'when a test keyword is called' do
|
context 'when a test keyword is called' do
|
||||||
it 'registers the test' 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
|
end
|
||||||
|
|
||||||
it 'registers the test with current env' do
|
it 'registers the test with current env' do
|
||||||
|
Reference in New Issue
Block a user