From 6b46fac76f89dd64978927293a700e552c854406 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Mon, 20 Jan 2014 01:03:37 +0000 Subject: [PATCH] Change an expectation in Condition::DSL specs --- spec/producer/core/condition/dsl_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/producer/core/condition/dsl_spec.rb b/spec/producer/core/condition/dsl_spec.rb index 0b13123..9024d16 100644 --- a/spec/producer/core/condition/dsl_spec.rb +++ b/spec/producer/core/condition/dsl_spec.rb @@ -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