lib/rspec/rails/api/dsl/example_group.rb in rspec-rails-api-0.2.3 vs lib/rspec/rails/api/dsl/example_group.rb in rspec-rails-api-0.3.0
- old
+ new
@@ -87,10 +87,10 @@
private
def document_only(status_code)
example 'Create documentation' do |example|
parent_example = example.example_group
- request_params = prepare_request_params parent_example.parent.description
+ request_params = prepare_request_params parent_example.module_parent.description
set_request_example parent_example.metadata[:rrad], request_params, status_code
end
end