Sha256: 5f24097be30cb832451174d840c5825bcd55df85a4d5af915238955b7b93fcb3
Contents?: true
Size: 710 Bytes
Versions: 1
Compression:
Stored size: 710 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 --local").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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber-nagios-0.8.10 | features/steps/creating_steps.rb |