Sha256: c3c2a71a3242144f18113efaf3efba5e18ae3ea04b17634322eab52103951d06

Contents?: true

Size: 542 Bytes

Versions: 5

Compression:

Stored size: 542 Bytes

Contents

Then 'it should pass' do
  steps %Q{
    Then it should pass with:
      """
      """
  }
end

Then /^it should (pass|fail) with template:$/ do |pass_fail, template|
  expect(last_command_started).to have_output(an_output_string_including(expand(template)))
  if pass_fail == 'pass'
    expect(last_command_started).to be_successfully_executed
  else
    expect(last_command_started).not_to be_successfully_executed
  end
end

When /^I run `(.*)` \(variables expanded\)$/ do |command|
  steps %Q{
    When I run `#{expand(command)}`
  }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vim-flavor-4.0.3 features/step_definitions/cli_steps.rb
vim-flavor-4.0.2 features/step_definitions/cli_steps.rb
vim-flavor-4.0.1 features/step_definitions/cli_steps.rb
vim-flavor-4.0.0 features/step_definitions/cli_steps.rb
vim-flavor-3.0.0 features/step_definitions/cli_steps.rb