[obs-commits] [openSUSE/open-build-service] 4715c6: [ci] Avoid warning from backend/file_spec
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 4715c6a2730f60ecdc3708f7becfc54c22cb22ea https://github.com/openSUSE/open-build-service/commit/4715c6a2730f60ecdc3708... Author: Stephan Kulow <coolo@suse.de> Date: 2018-07-20 (Fri, 20 Jul 2018) Changed paths: M src/api/spec/models/backend/file_spec.rb Log Message: ----------- [ci] Avoid warning from backend/file_spec allow_any_instance_of is considered an anti-pattern by rspec-mock authors, so use a proper double as subject. And give this double a freeze method that doesn't do anything to avoid not being able to unfreeze. Fixes half of #4859 Co-authored-by: Ana María Martínez Gómez <ammartinez@suse.de> Commit: d6ad353dee8810655a291d30780697391a44513a https://github.com/openSUSE/open-build-service/commit/d6ad353dee8810655a291d... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2018-07-22 (Sun, 22 Jul 2018) Changed paths: M src/api/spec/models/backend/file_spec.rb Log Message: ----------- Merge pull request #5422 from coolo/fix_4859 [ci] Avoid warning from backend/file_spec Compare: https://github.com/openSUSE/open-build-service/compare/8713d33f57cb...d6ad35... **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
Henne Vogelsang