Sha256: 21eba84f025b72c8449cb8979022dd6285e50ff9c3ab49da8a68df5a58e55322

Contents?: true

Size: 298 Bytes

Versions: 9

Compression:

Stored size: 298 Bytes

Contents

require 'cucumber/pro/info'

module Cucumber
  module Pro
    describe Info do
      it "can create a meaningful Hash" do
        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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cucumber-pro-0.0.17 spec/cucumber/pro/info_spec.rb
cucumber-pro-0.0.16 spec/cucumber/pro/info_spec.rb
cucumber-pro-0.0.15 spec/cucumber/pro/info_spec.rb
cucumber-pro-0.0.14 spec/cucumber/pro/info_spec.rb
cucumber-pro-0.0.13 spec/cucumber/pro/info_spec.rb
cucumber-pro-0.0.12 spec/cucumber/pro/info_spec.rb
cucumber-pro-0.0.11 spec/cucumber/pro/info_spec.rb
cucumber-pro-0.0.10 spec/cucumber/pro/info_spec.rb
cucumber-pro-0.0.9 spec/cucumber/pro/info_spec.rb