Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
taxonomies_base_test.rb 22.9 KB

Latest revisions

# Date Author Comment
9d43fc71 06/14/2018 12:05 PM Michael Moll

Fixes #19789 - fix Layout/SpaceAroundOperators cop

68388bc2 04/26/2018 04:29 PM Michael Moll

Fixes #19781 - Fix Layout/LeadingCommentSpace cop

3cd8c84b 04/11/2018 07:21 AM Michael Moll

Fixes #19787 - Fix Layout/SpaceAfterComma cop

9ae8fa19 04/05/2018 11:56 AM Michael Moll

Fixes #23123 - Fix Rails/ActiveRecordAliases cop

34f84c8d 01/15/2018 01:22 PM Michael Moll

Refs #22164 - use cheaper FactoryBot methods

  • Refs #22164 - FactoryBot.build -> FactoryBot.build_stubbed
  • Refs #22164 - FactoryBot.create -> FactoryBot.build

in
- test/unit/*
- test/models/shared/taxonomies_base_test.rb
- test/controllers/hosts_controller_test.rb

ad61b8ca 01/02/2018 04:15 PM Tomer Brisker

Fixes #22043 - Allow adding invalid orgs to locs (#5104)

And vice-versa. Currently when a taxonomy is invalid (e.g. because some
mismatch with hosts and resources), it cannot be assigned to the
opposite taxonomy. This is due to the fact that by default,
`has_and_belongs_to_many` associations validate the associated object as...

8c6bc83e 11/01/2017 09:00 AM Marek Hulán

Fixes #21424 - use factory_bot_rails

ff1e9ffc 09/18/2017 10:50 AM Dominic Cleal

Fixes #20950 - Use 'distinct' in AR finders

8dcc90be 07/20/2017 11:02 AM Marek Hulán

Fixes #16884 - enforce granular filters even during save

5f606e11 02/22/2017 03:26 AM Daniel Lobato Garcia

Fixes #16982 - Scope properly when no taxonomies are set

The default scope for hosts and other objects did not restrict
properly by taxonomies. An user without organizations or
locations, could do anything it's permissions allow to.
The list of hosts was unrestricted and showed hosts in...

View revisions

Also available in: Atom