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] How to test an app with multiple databases?

2010-03-08 Thread Ben Mabey
David Chelimsky wrote: On Sun, Mar 7, 2010 at 10:11 AM, Russell Fine wrote: David Chelimsky wrote: On Sun, Mar 7, 2010 at 9:45 AM, Russell Fine wrote: Our app connects to two databases. �The main database (through ActiveRecord::Base) is automatically cleared before each test.