[Rspec-users] Referencing a plugin in a spec

Mike Pence mike.pence at gmail.com
Wed Nov 1 13:14:04 EST 2006

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

More information about the Rspec-users mailing list