diff options
Diffstat (limited to 'qa/qa/resource/api_fabricator.rb')
-rw-r--r-- | qa/qa/resource/api_fabricator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/resource/api_fabricator.rb b/qa/qa/resource/api_fabricator.rb index 79cb1ebebc9..667dbc03fc3 100644 --- a/qa/qa/resource/api_fabricator.rb +++ b/qa/qa/resource/api_fabricator.rb @@ -118,7 +118,7 @@ module QA MSG end - body[:id] = body.fetch(:id).split('/').last + body[:id] = body.fetch(:id).split('/').last if body.key?(:id) body.transform_keys { |key| key.to_s.underscore.to_sym } else |