[obs-commits] [openSUSE/open-build-service] 6eef55: [ci] Migrate some of the request tests to rspec
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 6eef559b10d7573a28b732b3a43bbf39d94279aa https://github.com/openSUSE/open-build-service/commit/6eef559b10d7573a28b732... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/api/spec/controllers/webui/user_controller_spec.rb M src/api/spec/factories/bs_requests.rb Log Message: ----------- [ci] Migrate some of the request tests to rspec Also make it possible to set action/user in the bs_requests factory Commit: c497b6880457d680b2f1dd5c0132aa611af55a1d https://github.com/openSUSE/open-build-service/commit/c497b6880457d680b2f1dd... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/api/spec/factories/bs_request_actions.rb M src/api/spec/factories/bs_requests.rb Log Message: ----------- [ci] Add add_role to bs_request_actions factory Commit: 0209bc86af591f6ba3dcf4e5b949df39e69c3c84 https://github.com/openSUSE/open-build-service/commit/0209bc86af591f6ba3dcf4... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- [ci] Test submitting/accepting requests Commit: ab7bf9f0e58062aae34f88eb8e260de4aa0b7a7d https://github.com/openSUSE/open-build-service/commit/ab7bf9f0e58062aae34f88... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: A src/api/spec/cassettes/Requests/for_role_addition/for_packages/can_be_submitted.yml A src/api/spec/cassettes/Requests/for_role_addition/for_projects/can_be_submitted.yml M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- [ci] Test submit/accept requests for packages Commit: 0a3b5c0dc7d99071bff79b6d84137af5418be02e https://github.com/openSUSE/open-build-service/commit/0a3b5c0dc7d99071bff79b... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: A src/api/spec/cassettes/Requests/accept/can_add_submitter_as_maintainer.yml M src/api/spec/factories/bs_request_actions.rb M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- [ci] Test accepting submit requests Commit: e9c4c2fed1c76b59920b18e4611b8da677a6216a https://github.com/openSUSE/open-build-service/commit/e9c4c2fed1c76b59920b18... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/api/test/functional/webui/request_controller_test.rb Log Message: ----------- [ci] Document request controller test locations Commit: bc0e0131fcf93098d7bd5485f49960b0d23e1b9a https://github.com/openSUSE/open-build-service/commit/bc0e0131fcf93098d7bd54... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/spec/cassettes/Requests/accept/can_add_submitter_as_maintainer.yml A src/api/spec/cassettes/Requests/for_role_addition/for_packages/can_be_accepted.yml M src/api/spec/cassettes/Requests/for_role_addition/for_packages/can_be_submitted.yml A src/api/spec/cassettes/Requests/for_role_addition/for_projects/can_be_accepted.yml M src/api/spec/cassettes/Requests/for_role_addition/for_projects/can_be_submitted.yml A src/api/spec/cassettes/Requests/request_show_page/request_description_field/behaves_like_expandable_element/expanding_a_text_field.yml A src/api/spec/cassettes/Requests/request_show_page/request_history_entries/behaves_like_expandable_element/expanding_a_text_field.yml A src/api/spec/cassettes/Requests/superseed/other_requests.yml M src/api/spec/factories/packages.rb M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- [ci] Test superseed requests with rspec Commit: 9ae2ae6fbfecb97d75d84efa8ce890870dd9a9ec https://github.com/openSUSE/open-build-service/commit/9ae2ae6fbfecb97d75d84e... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/api/spec/support/vcr.rb Log Message: ----------- [ci] Allow connections when no VCR cassette exists This is needed for the in-between requests, like storing/accessing configuration, that happen when you run against a real backend to generate backend cassettes with real data Commit: 7ab825328837a2355a4ce1af2b9837a347870229 https://github.com/openSUSE/open-build-service/commit/7ab825328837a2355a4ce1... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- [ci] Test opening reviews for groups Commit: 668099bd7c16aa5e993b8682352ec05b854812d1 https://github.com/openSUSE/open-build-service/commit/668099bd7c16aa5e993b86... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/api/spec/cassettes/Requests/accept/can_add_submitter_as_maintainer.yml M src/api/spec/cassettes/Requests/for_role_addition/for_packages/can_be_accepted.yml M src/api/spec/cassettes/Requests/for_role_addition/for_packages/can_be_submitted.yml M src/api/spec/cassettes/Requests/for_role_addition/for_projects/can_be_accepted.yml M src/api/spec/cassettes/Requests/for_role_addition/for_projects/can_be_submitted.yml M src/api/spec/cassettes/Requests/request_show_page/request_description_field/behaves_like_expandable_element/expanding_a_text_field.yml M src/api/spec/cassettes/Requests/request_show_page/request_history_entries/behaves_like_expandable_element/expanding_a_text_field.yml A src/api/spec/cassettes/Requests/review/for_group/opens_a_review.yml A src/api/spec/cassettes/Requests/revoke/revokes_request.yml M src/api/spec/cassettes/Requests/superseed/other_requests.yml Log Message: ----------- [ci] Refresh casettes and add missing ones Commit: 0edce47bc8963071a6fbde2479dc540212bb3d73 https://github.com/openSUSE/open-build-service/commit/0edce47bc8963071a6fbde... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2016-05-17 (Tue, 17 May 2016) Changed paths: M src/api/spec/factories/bs_requests.rb M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- [ci] Fix some nitpicks Commit: b6967734e29b7494ff28c0f45849d2bd25b0e78d https://github.com/openSUSE/open-build-service/commit/b6967734e29b7494ff28c0... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-05-18 (Wed, 18 May 2016) Changed paths: M src/api/app/controllers/webui/package_controller.rb A src/api/spec/cassettes/Requests/accept/can_add_submitter_as_maintainer.yml A src/api/spec/cassettes/Requests/for_role_addition/for_packages/can_be_accepted.yml A src/api/spec/cassettes/Requests/for_role_addition/for_packages/can_be_submitted.yml A src/api/spec/cassettes/Requests/for_role_addition/for_projects/can_be_accepted.yml A src/api/spec/cassettes/Requests/for_role_addition/for_projects/can_be_submitted.yml A src/api/spec/cassettes/Requests/request_show_page/request_description_field/behaves_like_expandable_element/expanding_a_text_field.yml A src/api/spec/cassettes/Requests/request_show_page/request_history_entries/behaves_like_expandable_element/expanding_a_text_field.yml A src/api/spec/cassettes/Requests/review/for_group/opens_a_review.yml A src/api/spec/cassettes/Requests/revoke/revokes_request.yml A src/api/spec/cassettes/Requests/superseed/other_requests.yml M src/api/spec/controllers/webui/user_controller_spec.rb M src/api/spec/factories/bs_request_actions.rb M src/api/spec/factories/bs_requests.rb M src/api/spec/factories/packages.rb M src/api/spec/features/webui/requests_spec.rb M src/api/spec/support/vcr.rb M src/api/test/functional/webui/request_controller_test.rb Log Message: ----------- Merge pull request #1706 from hennevogel/migrate_request_controller_test Migrate request controller tests (Part 1) Compare: https://github.com/openSUSE/open-build-service/compare/5fbc394af297...b69677...
participants (1)
-
Björn Geuken