Branch: refs/heads/depfu/update/srcapi/factory_bot-5.0.0
Home: https://github.com/openSUSE/open-build-service
Commit: 5302faa6fec37bc0324433897cb8a55b7f6a7435
https://github.com/openSUSE/open-build-service/commit/5302faa6fec37bc0324433...
Author: Dany Marcoux
Date: 2019-02-07 (Thu, 07 Feb 2019)
Changed paths:
M src/api/spec/controllers/attribute_controller_spec.rb
Log Message:
-----------
Fix spec following factory_bot changes
In factory_bot 5.0.0, when the 'build' strategy is used, the
associations are also built. Previous to 5.0.0, they were created.
See the changelog for details:
https://github.com/thoughtbot/factory_bot/blob/0a072064c536818bec517cd00b56a...
Also include minor changes to remove unneeded variables