features/step_definitions/dsl_steps.rb in conjur-cli-4.14.0 vs features/step_definitions/dsl_steps.rb in conjur-cli-4.15.0
- old
+ new
@@ -39,8 +39,8 @@
@runner.context[key].should == value
end
Then(/^the context "(.*?)" should contain "(.*?)" item$/) do |key, key_count|
step "the context should contain \"#{key}\""
- @runner.context[key].should have(key_count.to_i).items
+ expect(@runner.context[key].length).to eq key_count.to_i
end