My test has the following line
In my model, I have
def self.find_by_slug_and_owner_id(slug, owner_id)
But I am getting
NoMethodError in ‘AccountsController GET add person to account GET add
page verifies the account is live’
undefined method `find_by_slug_and_owner_id’ for #Class:0x219e568
It looks like the Account class isn’t used. All my other calls to
Account.stub are working fine.
I just added the slug column and ran rake db:test:prepare and load.
What am I doing wrong?
View this message in context:
Sent from the rspec-users mailing list archive at Nabble.com.