[Rspec-users] Referencing a plugin in a spec

Mike Pence mike.pence at gmail.com
Wed Nov 1 12:46:25 EST 2006

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:

`const_missing': uninitialized constant ActiveMerchant (NameError)

Do I need to explicity require the main plugin file?

Mike Pence

More information about the Rspec-users mailing list