Sha256: ad9d9c44b9a23af304ec69244858aca3d4e36cff755394b5b5b7f32752b8ac3d

Contents?: true

Size: 461 Bytes

Versions: 40

Compression:

Stored size: 461 Bytes

Contents

Then /^the example(?:s)? should(?: all)? pass$/ do
  step %q{the output should contain "0 failures"}
  step %q{the exit status should be 0}
end

# Useful for when the output is slightly different on different versions of ruby
Then /^the output should contain "([^"]*)" or "([^"]*)"$/ do |string1, string2|
  unless [string1, string2].any? { |s| all_output =~ regexp(s) }
    fail %Q{Neither "#{string1}" or "#{string2}" were found in:\n#{all_output}}
  end
end

Version data entries

40 entries across 40 versions & 8 rubygems

Version Path
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb
rspec-mocks-2.99.4 features/step_definitions/additional_cli_steps.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb
rspec-mocks-2.99.3 features/step_definitions/additional_cli_steps.rb
rspec-mocks-2.99.2 features/step_definitions/additional_cli_steps.rb
dxruby_rp5-0.0.4 spec/vendor/rspec-mocks-2.14.4/features/step_definitions/additional_cli_steps.rb
rspec-mocks-2.99.1 features/step_definitions/additional_cli_steps.rb
rspec-mocks-2.99.0 features/step_definitions/additional_cli_steps.rb
rspec-mocks-2.99.0.rc1 features/step_definitions/additional_cli_steps.rb
rspec-mocks-2.14.6 features/step_definitions/additional_cli_steps.rb
rspec-mocks-3.0.0.beta2 features/step_definitions/additional_cli_steps.rb
rspec-mocks-2.99.0.beta2 features/step_definitions/additional_cli_steps.rb
rspec-mocks-2.14.5 features/step_definitions/additional_cli_steps.rb