[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:
./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