Sha256: e99f42987071d44f5e24bbef4b119372df29bb0c5eee39592b0d57b8f502b0c0
Contents?: true
Size: 521 Bytes
Versions: 11
Compression:
Stored size: 521 Bytes
Contents
Given /a graph with edges/ do |table| graph table.raw end Then %r{the graph JSON should be} do |json| json = expand_roles json last_graph = extract_filtered_graph json expect(last_graph.to_json).to be_json_eql(json) end When(/^I( successfully)? run with role expansion "(.*)"$/) do |successfully, cmd| role_id_map.each do |role, expanded_role| cmd.gsub! role, expanded_role end self.last_cmd = cmd if successfully step "I successfully run \"#{cmd}\"" else step "I run \"#{cmd}\"" end end
Version data entries
11 entries across 11 versions & 1 rubygems