Sha256: f18d7a196b9c8cce24189f875b66d06efbfd024c9d8b2971967e7edd3af05a9b

Contents?: true

Size: 207 Bytes

Versions: 12

Compression:

Stored size: 207 Bytes

Contents

Then /^the exit status should be "(.+)"$/ do |name|
  error = name.split('::').reduce(Berkshelf) { |klass, id| klass.const_get(id) }
  expect(last_command_started).to have_exit_status(error.status_code)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
berkshelf-5.0.0 features/step_definitions/cli_steps.rb
berkshelf-4.3.5 features/step_definitions/cli_steps.rb
berkshelf-4.3.3 features/step_definitions/cli_steps.rb
berkshelf-4.3.2 features/step_definitions/cli_steps.rb
berkshelf-4.3.1 features/step_definitions/cli_steps.rb
berkshelf-4.3.0 features/step_definitions/cli_steps.rb
berkshelf-4.2.3 features/step_definitions/cli_steps.rb
berkshelf-4.2.2 features/step_definitions/cli_steps.rb
berkshelf-4.2.1 features/step_definitions/cli_steps.rb
berkshelf-4.2.0 features/step_definitions/cli_steps.rb
berkshelf-4.1.1 features/step_definitions/cli_steps.rb
berkshelf-4.1.0 features/step_definitions/cli_steps.rb