spec/cucumber/pro/info_spec.rb in cucumber-pro-0.0.8 vs spec/cucumber/pro/info_spec.rb in cucumber-pro-0.0.9
- old
+ new
@@ -2,10 +2,12 @@
module Cucumber
module Pro
describe Info do
it "can create a meaningful Hash" do
- expect(Info.new.to_h[:client_version]).to match(/^cucumber-pro-ruby/)
+ info = Info.new
+ expect(info.to_h[:client_version]).to match(/^cucumber-pro-ruby/)
+ expect(info.to_h[:cmd]).to match(/rspec/)
end
end
end
end