[obs-commits] [openSUSE/open-build-service] 37099b: Add tests for BsRequest::in_state_new
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 37099bcae9b523b27aaf3ceba5e150f640d7136a https://github.com/openSUSE/open-build-service/commit/37099bcae9b523b27aaf3c... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M src/api/spec/models/bs_request_spec.rb Log Message: ----------- Add tests for BsRequest::in_state_new Commit: 1f16d5b5f33bdfb702707e80814a55cab83d353b https://github.com/openSUSE/open-build-service/commit/1f16d5b5f33bdfb702707e... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- Restructure method calls in BsRequest::in_state_new * Group the code to make the code more readable. * Cleanup construction of query. Commit: f8525107cb163406a9a957548a0d2e42250c0375 https://github.com/openSUSE/open-build-service/commit/f8525107cb163406a9a957... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-07-25 (Wed, 25 Jul 2018) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- Whitelist query parameters of in_state_new method Commit: 1fb61e4768561d170c4cb112c5ebd3a116dd2ef7 https://github.com/openSUSE/open-build-service/commit/1fb61e4768561d170c4cb1... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-07-26 (Thu, 26 Jul 2018) Changed paths: M src/api/spec/models/bs_request_spec.rb A src/api/spec/support/shared_contexts/a_bs_request_with_reviews.rb Log Message: ----------- Add tests for BsRequest::with_open_reviews_for Commit: 38017bba6c83e052db1e6d0af5ab5a6f6a9b9065 https://github.com/openSUSE/open-build-service/commit/38017bba6c83e052db1e6d... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-07-26 (Thu, 26 Jul 2018) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- Merge with_open_reviews_for and in_state_new methods Both methods share 90% of the code. The share code is now moved to a BsRequest#with_reviews. Commit: bd11b000aeaacb242ad7971779fc354a85edac09 https://github.com/openSUSE/open-build-service/commit/bd11b000aeaacb242ad797... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-07-26 (Thu, 26 Jul 2018) Changed paths: M src/api/app/models/bs_request.rb M src/api/spec/models/bs_request_spec.rb A src/api/spec/support/shared_contexts/a_bs_request_with_reviews.rb Log Message: ----------- Merge pull request #5484 from bgeuken/bs_request_tests Tests and some refactoring for obs factory request query methods Compare: https://github.com/openSUSE/open-build-service/compare/e5be212fe7c0...bd11b0... **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)
-
Björn Geuken