Hello all, I am facing a strange problem. I have generated rspec for a particular project.Similarly created a spec controller.Under that controller i have written post :create action When i run my spec i get an error as "undefined method `post' for #<Spec::Rails::Example::RailsExampleGroup::Subclass_1::Subclass_1:0xb693fb3c>"
Strangely my models are working fine.My rails version is 2.3.5 and rspec version is 1.1.12 I tried in some other project,in that i am getting error as "Undefined method controller for nil class" Earlier it was working fine,but dont know what is the problem. Please suggest. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users