Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
ipv4_test.rb 7.52 KB
ipv6_test.rb 3.69 KB

Latest revisions

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

Fixes #19789 - fix Layout/SpaceAroundOperators cop

f175f751 04/04/2018 02:20 PM Baptiste Agasse

fixes #21694 - Add MTU to subnet

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

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

Fixes #21424 - use factory_bot_rails

6f767444 07/03/2017 09:06 AM Tomer Brisker

Fixes #19825 - Fix Performance/TimesMap cop

f16b2068 02/26/2017 09:10 AM Dominic Cleal

refs #16982 - remove User.current deassignment (no such user)

Allows the scope change to be reverted, as User.current is no longer set
to `nil` (there is no 'admin' user).

This was relying on a bug in Ruby on Rails 4.2 where the `unscoped` call
filtered through thread variables into Subnet.subnet_for which calls...

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...

6a3b4abc 01/23/2017 12:08 PM Dominic Cleal

fixes #18176 - replace clear_association_cache with reload

Reload is still necessary in Rails 5 as interfaces association will be
cached. The BMC test change is necessary to reload smart proxies
associated to the subnet after their features were altered - previously...

976bf6e0 12/21/2016 10:42 AM Dominic Cleal

fixes #16792 - don't modify AR record attributes in-place

Rails 5 may call #freeze on strings passed in as an attribute during
validation, so attributes must not be edited in-place with gsub! and
similar methods.

c6760930 10/07/2016 07:08 AM Timo Goebel

fixes #16725 - add plugin extension point for smart proxies

View revisions

Also available in: Atom