summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/rails_resource.rb
diff options
context:
space:
mode:
authorJacob Helwig <jacob@puppetlabs.com>2011-05-16 09:52:04 -0700
committerPieter van de Bruggen <pieter@puppetlabs.com>2011-05-18 15:44:51 -0700
commit83c756367ef4bfc404b2395362f796c2c942b053 (patch)
treec0525cb08e6c271b18b1275ecdea8bac5af5ca5d /lib/puppet/rails/rails_resource.rb
parentaad2fd780b5134af4f5385c38c15a72c28697bd0 (diff)
downloadpuppet-83c756367ef4bfc404b2395362f796c2c942b053.tar.gz
puppet-83c756367ef4bfc404b2395362f796c2c942b053.tar.xz
puppet-83c756367ef4bfc404b2395362f796c2c942b053.zip
(#7259) Remove ActiveRecord requirement from indirector face spec
"should be able to return a list of terminuses for a given indirection" was calling Puppet::Indirector::Face.terminus_classes, which is just a thin wrapper around Puppet::Indirector::Terminus.terminus_classes, which would attempt to load all Terminus classes. This would cause problems if not all of the prerequisites for all of the Terminus classes were installed (For example: ActiveRecord). Now we only test that the thin wrapper appropriately munges the output from Puppet::Indirector::Terminus.terminus_classes, since the method being wrapped should have its own tests for the behavior that was being tested originally. Paired-with: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'lib/puppet/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions