Displaying 1 result from an estimated 1 matches for "admin_collections".
2007 May 09
3
engines causing problems with mocks
As I delve further into using engines and rspec together I am
noticing more strange issues.
describe "Requesting /admin/collections using get" do
controller_name :admin_collections
before(:each) do
Collection.stub!(:paginate)
end
it "should return a collection of collection objects" do
get ''index''
response.should be_success
end
end
Gives me this error
undefined method `callback_events'' for
#<Class:Spec::...