[obs-commits] [openSUSE/open-build-service] 607f0e: [ci] Migrate package controller test for submit re...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 607f0e4274361a5a989ea4e274d0d93b0cbab654 https://github.com/openSUSE/open-build-service/commit/607f0e4274361a5a989ea4... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_2_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_2_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/doesn_t_create_a_submit_request.yml M src/api/spec/controllers/webui/package_controller_spec.rb M src/api/test/functional/webui/package_controller_test.rb Log Message: ----------- [ci] Migrate package controller test for submit requests (unchange sources) Commit: 7ccafee4dd0d5f82f4dbe2348e80ce54db358a63 https://github.com/openSUSE/open-build-service/commit/7ccafee4dd0d5f82f4dbe2... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: M src/api/app/controllers/webui/package_controller.rb A src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_2_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_2_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_2_3.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_2_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_2_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_3_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_3_2.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/doesn_t_create_a_submit_request.yml M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [webui][ci] Fix handling of validation errors in Webui::PackageController#submit_request ... and add a test for it. Commit: a94b275b0fbff3e49724edbeff0ce5cccb15a7df https://github.com/openSUSE/open-build-service/commit/a94b275b0fbff3e49724ed... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: M src/api/app/controllers/webui/package_controller.rb R src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_2_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_2_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_2_3.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_3_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_3_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_3_3.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_1_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_1_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_2_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_2_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/1_1_1_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/1_1_1_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/creates_a_submit_request.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_3_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_3_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_4_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_4_2.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/doesn_t_create_a_submit_request.yml M src/api/spec/controllers/webui/package_controller_spec.rb M src/api/test/functional/webui/package_controller_test.rb M src/api/test/unit/code_quality_test.rb Log Message: ----------- [ci] Migrate package controller test for invalid requests (missing parameters) Commit: 6adf178627ac4dea4c472f893244a80a0184d279 https://github.com/openSUSE/open-build-service/commit/6adf178627ac4dea4c472f... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [ci] Fix falsy test for package submit requests Without using the package's and project's names this query would always return no result. Got introduced by 5b5c059626793e3f0cc0dcc0c31af51f40e4fe83 Commit: 7368343ea0a76283838d605a93a031dd605fecd6 https://github.com/openSUSE/open-build-service/commit/7368343ea0a76283838d60... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: R src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_3_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_3_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_3_3.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_3.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/1_1_2_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/1_1_2_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/creates_a_submit_request.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_2_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_2_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_3_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_3_2.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/1_1_1_1.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/1_1_1_2.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/creates_a_submit_request.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_4_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_4_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_5_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_5_2.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/doesn_t_create_a_submit_request.yml M src/api/spec/controllers/webui/package_controller_spec.rb M src/api/test/functional/webui/package_controller_test.rb Log Message: ----------- [ci] Migrate package controller test to rspec: submit requests with whitespaces in parameters Commit: ac9ad8e23e17c25586db3b7cea63db1ee9324309 https://github.com/openSUSE/open-build-service/commit/ac9ad8e23e17c25586db3b... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: M src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_1.yml Log Message: ----------- [ci] Add missing VCR cassettes Commit: 159bcb866d2cd6cfa88456652027ac1f8aa0fc48 https://github.com/openSUSE/open-build-service/commit/159bcb866d2cd6cfa88456... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: M src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_1.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_2.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_3.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/1_1_2_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/1_1_2_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/creates_a_submit_request.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_3.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_3_1.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_3_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/1_1_1_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/1_1_1_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/creates_a_submit_request.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_1.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_2.yml A src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_3.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_5_1.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_5_2.yml M src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/doesn_t_create_a_submit_request.yml M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [ci] DRY rspec test with shared examples Commit: 0b3ce6b7ee963a847f1366702f143019a468f911 https://github.com/openSUSE/open-build-service/commit/0b3ce6b7ee963a847f1366... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [ci] DRY rspec test by moving login procedure into global before block Commit: dcac4a6f650c820acccfbcf5304b255ec46a52b2 https://github.com/openSUSE/open-build-service/commit/dcac4a6f650c820acccfbc... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: A src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_5_3.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/doesn_t_create_a_submit_request.yml M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [ci] Align unchanged_sources test to the form of the other submit request tests Commit: 8ca44ebf8e5abd204158950e8e9d19fc543c218b https://github.com/openSUSE/open-build-service/commit/8ca44ebf8e5abd20415895... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_3.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_3.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_3.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_3_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_3_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_3.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_5_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_5_2.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/unchanged_sources/1_1_5_3.yml M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [ci] Rename package test group: "submit_request -> "POST #submit_request" Commit: cb25c6b4b40383aa600926cf78a3fbe5c1a26948 https://github.com/openSUSE/open-build-service/commit/cb25c6b4b40383aa600926... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_3.yml R src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_1.yml R src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_2.yml R src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_2_1_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_3.yml R src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_1.yml R src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_2.yml R src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successfull_submit_request/1_1_1_1_3.yml M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [ci] Fix Typo, sucessfull -> sucessful Commit: 138bdae46d9dee45baf98fdf6f71ff296a721571 https://github.com/openSUSE/open-build-service/commit/138bdae46d9dee45baf98f... Author: Moisés Déniz Alemán <mdeniz@suse.com> Date: 2016-08-19 (Fri, 19 Aug 2016) Changed paths: M src/api/app/controllers/webui/package_controller.rb A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_3.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_1_1.yml R src/api/spec/cassettes/Webui_PackageController/submit_request/not_successful/1_1_1_2.yml M src/api/spec/controllers/webui/package_controller_spec.rb M src/api/test/functional/webui/package_controller_test.rb M src/api/test/unit/code_quality_test.rb Log Message: ----------- Merge pull request #2051 from bgeuken/pkg_controller_test_requests_3b Migrate package controller test for submit requests Compare: https://github.com/openSUSE/open-build-service/compare/d6bc964fa223...138bda...
participants (1)
-
Moisés Déniz Alemán