Sha256: c4d56ba8171c40e4ba4606f89a00f04a14b44066455cebaf0a41de0124ef3a61

Contents?: true

Size: 702 Bytes

Versions: 8

Compression:

Stored size: 702 Bytes

Contents

Given /^cucumber\-nagios is installed$/ do
  When 'I build the gem'
  And 'I install the latest gem'
  Then 'I should have cucumber-nagios-gen on my path'
end

When /^I create a new project called "([^\"]*)"$/ do |project_name|
  @project_name = project_name
  FileUtils.rm_rf("/tmp/#{@project_name}")

  silent_system("cd /tmp ; cucumber-nagios-gen project #{@project_name}").should be_true
end

When /^I freeze in dependencies$/ do
  @project_name.should_not be_nil
  silent_system("cd /tmp/#{@project_name} ; bundle install").should be_true
end

Then /^a Gemfile lock should be created$/ do
  @project_name.should_not be_nil
  File.exists?("/tmp/#{@project_name}/Gemfile.lock").should be_true
end


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cucumber-nagios-0.8.9 features/steps/creating_steps.rb
cucumber-nagios-0.8.8 features/steps/creating_steps.rb
cucumber-nagios-0.8.7 features/steps/creating_steps.rb
cucumber-nagios-0.8.6 features/steps/creating_steps.rb
cucumber-nagios-0.8.5 features/steps/creating_steps.rb
cucumber-nagios-0.8.4 features/steps/creating_steps.rb
cucumber-nagios-0.8.3 features/steps/creating_steps.rb
cucumber-nagios-0.8.2 features/steps/creating_steps.rb