Sha256: 50209eb561abab188ce71f43ec5ea1ff8af39b5461238abbff1a4f4e4405c8bf

Contents?: true

Size: 702 Bytes

Versions: 11

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} ; gem bundle").should be_true
end

Then /^my gems directory should be populated$/ do
  @project_name.should_not be_nil
  Dir.glob("/tmp/#{@project_name}/vendor/gems/*").size.should > 0
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cucumber-nagios-0.6.8 features/steps/creating_steps.rb
cucumber-nagios-0.6.7 features/steps/creating_steps.rb
cucumber-nagios-0.6.6 features/steps/creating_steps.rb
cucumber-nagios-0.6.5 features/steps/creating_steps.rb
cucumber-nagios-0.6.4 features/steps/creating_steps.rb
cucumber-nagios-0.6.3 features/steps/creating_steps.rb
cucumber-nagios-0.6.2 features/steps/creating_steps.rb
cucumber-nagios-0.6.1 features/steps/creating_steps.rb
cucumber-nagios-0.6.0 features/steps/creating_steps.rb
cucumber-nagios-0.5.1 features/steps/creating_steps.rb
cucumber-nagios-0.5.0 features/steps/creating_steps.rb