Sha256: 0c659deb759885dd0918b2c628f2826dfdbd9619aae093e99b0343a6d260f112
Contents?: true
Size: 374 Bytes
Versions: 5
Compression:
Stored size: 374 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
Version data entries
5 entries across 5 versions & 1 rubygems