[obs-commits] [openSUSE/open-build-service] 6efb5c: [ci] Refactor model: AttribValue
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 6efb5cbcb3cb205f6febc2b0edc87bfa0348b377 https://github.com/openSUSE/open-build-service/commit/6efb5cbcb3cb205f6febc2... Author: Manuel Schnitzer <mschnitzer@suse.com> Date: 2017-10-09 (Mon, 09 Oct 2017) Changed paths: M src/api/app/models/attrib_value.rb M src/api/spec/controllers/webui/attributes_spec.rb A src/api/spec/factories/attrib_default_values.rb M src/api/spec/factories/attrib_types.rb M src/api/spec/factories/attrib_values.rb M src/api/spec/factories/attribs.rb M src/api/spec/features/webui/attributes_spec.rb M src/api/spec/models/attrib_spec.rb A src/api/spec/models/attrib_value_spec.rb Log Message: ----------- [ci] Refactor model: AttribValue Commit: b8f81f8fac57ecf3dcbddc85e785586c852aaca7 https://github.com/openSUSE/open-build-service/commit/b8f81f8fac57ecf3dcbddc... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-10-09 (Mon, 09 Oct 2017) Changed paths: M src/api/spec/factories/attrib_types.rb M src/api/spec/factories/attrib_values.rb M src/api/spec/factories/attribs.rb Log Message: ----------- [ci] Simplify attrib factories Commit: 3fc872f6061dae3152c5ab6b320aa8f072e0d2e5 https://github.com/openSUSE/open-build-service/commit/3fc872f6061dae3152c5ab... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-10-09 (Mon, 09 Oct 2017) Changed paths: M src/api/spec/factories/attribs.rb Log Message: ----------- [ci] Remove unused attrib factory Commit: 80041afe4545b244d15b43da15c4e12c2f2bfb6a https://github.com/openSUSE/open-build-service/commit/80041afe4545b244d15b43... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-10-09 (Mon, 09 Oct 2017) Changed paths: M src/api/spec/models/attrib_value_spec.rb Log Message: ----------- [ci] Refactor attrib value spec Commit: 86ea9a827b666e4d8067c53946c430be603d35cc https://github.com/openSUSE/open-build-service/commit/86ea9a827b666e4d8067c5... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-10-09 (Mon, 09 Oct 2017) Changed paths: M src/api/app/models/attrib_value.rb Log Message: ----------- [api][webui] Drop unnecessary nil guard as blank? already checks for nil. Commit: 318b2ab18ad43e06c9b8098ab33c506182c94030 https://github.com/openSUSE/open-build-service/commit/318b2ab18ad43e06c9b809... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-10-09 (Mon, 09 Oct 2017) Changed paths: M src/api/app/models/attrib_value.rb M src/api/spec/models/attrib_value_spec.rb Log Message: ----------- [api][webui] Set default value in AttribValue when value is blank Commit: aac124a0de79d375b53f815ab16982aa51f01453 https://github.com/openSUSE/open-build-service/commit/aac124a0de79d375b53f81... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-10-09 (Mon, 09 Oct 2017) Changed paths: M src/api/spec/factories/attrib_values.rb M src/api/spec/models/attrib_value_spec.rb Log Message: ----------- [ci] Move reload from AttribValue spec to factory Commit: e7aa75e698182cd966316998170747c59c3f9ebd https://github.com/openSUSE/open-build-service/commit/e7aa75e698182cd9663169... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-10-09 (Mon, 09 Oct 2017) Changed paths: M src/api/app/models/attrib_value.rb M src/api/spec/models/attrib_value_spec.rb Log Message: ----------- [webui] More specs for AttribValue and some small refactoring. Note that it is not possible to let act_as_list set the position as it will assign the position in after_save which would cause an error getting the default value. Commit: 89fe7a96ca83759e7374c260eddace24c8e1dc7c https://github.com/openSUSE/open-build-service/commit/89fe7a96ca83759e7374c2... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2017-10-09 (Mon, 09 Oct 2017) Changed paths: M src/api/app/models/attrib_value.rb M src/api/spec/controllers/webui/attributes_spec.rb A src/api/spec/factories/attrib_default_values.rb M src/api/spec/factories/attrib_types.rb M src/api/spec/factories/attrib_values.rb M src/api/spec/factories/attribs.rb M src/api/spec/features/webui/attributes_spec.rb M src/api/spec/models/attrib_spec.rb A src/api/spec/models/attrib_value_spec.rb Log Message: ----------- Merge pull request #3950 from ChrisBr/feature/attrib_value_model_specs Specs for AttribValue model Compare: https://github.com/openSUSE/open-build-service/compare/beed676906d7...89fe7a...
participants (1)
-
Henne Vogelsang