lib/dox/formatter.rb in dox-0.0.3 vs lib/dox/formatter.rb in dox-1.0.0.alpha

- old
+ new

@@ -47,10 +47,10 @@ group.resources[resource_name] ||= Entities::Resource.new(resource_name, @current_example_data) end def load_or_save_action_to_resource(resource) action_name = @current_example_data[:action_name] - resource.actions[action_name] ||= Entities::Action.new(action_name, @current_example_data) + resource.actions[action_name] ||= Entities::Action.new(action_name, @current_example_data, request) end def move_example_to_passed group = load_or_save_group resource = load_or_save_resource_to_group(group)