I am writing some specs that use ActiveMerchant to talk to a cc provider. When I try to "include ActiveMerchant::Billing" in my spec, it tells me it can''t find the plugin: ./activesupport/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant ActiveMerchant (NameError) Do I need to explicity require the main plugin file? Thanks, Mike Pence
Nevermind. :) On 11/1/06, Mike Pence <mike.pence at gmail.com> wrote:> I am writing some specs that use ActiveMerchant to talk to a cc provider. > > When I try to "include ActiveMerchant::Billing" in my spec, it tells > me it can''t find the plugin: > > ./activesupport/lib/active_support/dependencies.rb:123:in > `const_missing'': uninitialized constant ActiveMerchant (NameError) > > Do I need to explicity require the main plugin file? > > Thanks, > Mike Pence >