Sha256: 0f34c114250d6c769831f8d54e8f9abe648e02c836cd096997dede391a184be0
Contents?: true
Size: 648 Bytes
Versions: 5
Compression:
Stored size: 648 Bytes
Contents
Transform /\$ns/ do |s| s.gsub('$ns', namespace) end Transform /\$user_role/ do |s| s.gsub('$user_role', test_user.role_id) end Transform /^table:/ do |table| table.tap do |t| t.hashes.each do |row| row.each do |_,v| v.gsub!('$ns', namespace) v.gsub!('$user_role', test_user.role_id) end end end end When /^the command completes successfully/ do last_command_started.wait last_command_started.terminate expect(last_command_started.exit_status).to eq(0) end Then /^the output from "([^"]*)" should match \/([^\/]*)\/$/ do |cmd, expected| assert_matching_output(expected, output_from(cmd)) end
Version data entries
5 entries across 5 versions & 1 rubygems