Re: [rspec-users] Undefined method 'post'

2010-03-08 Thread Amit Kulkarni
Hello, I am having some problem with the controllers after i updated my specs. Following are the details: I am trying to call create action as post :create :user => {:name => "abc", :login => "abcd", :phone => 1} After this i am searching this for confirmation i.e. user = User.find_by_name("ab

Re: [rspec-users] Undefined method 'post'

2010-03-08 Thread Amit Kulkarni
Amit Kulkarni wrote: > David Chelimsky wrote: >> On Mon, Mar 8, 2010 at 1:13 AM, Amit Kulkarni >> wrote: >>> As per the list there are 3 versions of rspec released in Jan 2010 i.e. >>> 1.3.0,1.3.1 and 1.3.2 >>> Also there are various versions starting from 2. >>> So from all above version which o

Re: [rspec-users] Undefined method 'post'

2010-03-08 Thread Amit Kulkarni
David Chelimsky wrote: > On Mon, Mar 8, 2010 at 1:13 AM, Amit Kulkarni > wrote: >> As per the list there are 3 versions of rspec released in Jan 2010 i.e. >> 1.3.0,1.3.1 and 1.3.2 >> Also there are various versions starting from 2. >> So from all above version which one is a stable one so that i

Re: [rspec-users] Undefined method 'post'

2010-03-07 Thread David Chelimsky
On Mon, Mar 8, 2010 at 1:13 AM, Amit Kulkarni wrote: > As per the list there are 3 versions of rspec released in Jan 2010 i.e. > 1.3.0,1.3.1 and 1.3.2 > Also there are various versions starting from 2. > So from all above version which one is a stable one so that i can > install it. Why would you

Re: [rspec-users] Undefined method 'post'

2010-03-07 Thread Amit Kulkarni
As per the list there are 3 versions of rspec released in Jan 2010 i.e. 1.3.0,1.3.1 and 1.3.2 Also there are various versions starting from 2. So from all above version which one is a stable one so that i can install it. -- Posted via http://www.ruby-forum.com/. _

Re: [rspec-users] Undefined method 'post'

2010-03-05 Thread David Chelimsky
On Fri, Mar 5, 2010 at 7:03 AM, Amit Kulkarni wrote: > Amit Kulkarni wrote: >> 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

Re: [rspec-users] Undefined method 'post'

2010-03-05 Thread Amit Kulkarni
Amit Kulkarni wrote: > 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 > #" > > Strange

[rspec-users] Undefined method 'post'

2010-03-04 Thread Amit Kulkarni
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 #" Strangely my models are working fine.My rails