Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
  factories
  fixtures
  functional
  integration
  lib
  unit
audit.rb 148 Bytes
test_helper.rb 12.3 KB
test_runner.rb 1.1 KB

Latest revisions

# Date Author Comment
565dc8e5 10/26/2015 08:45 AM Tomer Brisker

Fixes #12241 - Correct counter_cache deadlock fix

Previous fix had a bug - in `:after_commit` `self.changes` is empty, and the
changes are in `self.previous_changes`. Also this only needs to run on
update.
This commit adds tests to make sure cached_counters continue to work...

5f7e1ee4 10/26/2015 08:44 AM Tom Caspy

fixes #11965 - hostgroup with config group - clone should not run validations more than once

02e4c535 10/26/2015 08:44 AM Daniel Lobato Garcia

Fixes #11924 - Substitute .scoped by .where(nil) to force return relation

On Rails 4 .scoped is deprecated. Calling .all on the model returns the
equivalent ActiveRecord relation object on Rails 4, but on Rails 3 it
returns an Array right away.

A proper replacement we can use is where(nil) - it's ugly but it returns...

1cff2424 10/26/2015 07:58 AM Daniel Lobato Garcia

Fixes #12099 - Template locked? relying on rake makes tests fail

app/models/template.rb has a method locked? that relies on
!Foreman.in_rake? to bypass the locked validation when running some
operations through Rake such as migrations or cloning templates. On...

768aad03 10/26/2015 07:06 AM Tom Caspy

refs #12147 - compatible test updates for api fact value controller

85e82d04 10/23/2015 07:01 AM Timo Goebel

fixes #11124 - Interface compute attributes not merged from API request over compute profile

1d0315e0 10/22/2015 11:13 AM Marek Hulán

Fixes #11921 - load dynamic features during runtime

638776c5 10/22/2015 11:07 AM Tom Caspy

fixes #12207 - objects with ancestors should not call ancestors if cached

up until now, ancestry objects always called their ancestors when
linking to the object because to_param called get_title instead of title
(which can be cached)
this caused a LOT of pointless queries, slowed down Hosts#index alot

5ef1e692 10/22/2015 02:54 AM Marek Hulán

Fixes #12185 - host created via reports has downcased name

2bb102ba 10/21/2015 03:41 PM Tomáš Strachota

Refs #12089 - tests for config templates controller param wrapping

View revisions

Also available in: Atom