Sha256: 2608dfc348859be3a18aa780bed9a62141985cce28f9105d6ffadcf87e92e559
Contents?: true
Size: 590 Bytes
Versions: 2
Compression:
Stored size: 590 Bytes
Contents
Then(/^the temporary Puppetfile should contain \/(.*)\/$/) do |regex| puppetfile = File.read(@repo.onceover_temp_puppetfile) expect(puppetfile).to match(Regexp.new(regex)) end Then(/^the temporary Puppetfile should contain the git branch/) do git_branch = `git rev-parse --abbrev-ref HEAD`.chomp step %Q(the temporary Puppetfile should contain /#{git_branch}/) end When(/^I make local modifications$/) do FileUtils.rm_rf("#{@repo.onceover_temp_root_folder}/modules/apache/manifests") end Before('@skip_on_windows') do skip_this_scenario if RUBY_PLATFORM =~ /mswin|mingw/ end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
onceover-4.0.0 | features/step_definitions/run.rb |
onceover-3.22.0 | features/step_definitions/run.rb |