search for: create_account

Displaying 6 results from an estimated 6 matches for "create_account".

2009 Mar 19
6
[Cucumber 0.2] Failure to use should
...t(id: integer, name: string, state: string, next_renewal_at: date, created_at: datetime, updated_at: datetime, full_domain: string, deleted_at: datetime, subscription_discount_id: integer, subscription_plan_id: integer) And the account should be created # features/step_definitions/create_account_steps.rb:31 undefined method `be_blank'' for #<ActionController::Integration::Session:0x349994c> (NoMethodError) features/create_account.feature:10:in `And the account should be created'' I print out the account class, which is a AR::B. Why cucumber tells me it is...
2010 Apr 05
1
`test': wrong number of arguments (1 for 2) (ArgumentError)
...Case fixtures :accounts def setup @controller = AccountsController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new end test "should allow signup" do assert_difference ''Account.count'' do create_account assert_response :redirect end end protected def create_account(options = {}) post :create, :account => { :name => ''who'', :email => ''who-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'', :password => ''who'', :p...
2006 Mar 15
4
[NQ] How to set an initial FK for a new item of something?
Hi all, running into a little problem here. I''ve a list of things with a "New thing" link beneath it. When you click that link, obviously, a new thing shall be created. Now, that works pretty fine for things that don''t have foreign keys, but for things that do it crashes, since there is not yet a thing.other_thing.name available. I suspect you can somewhere in
2007 Dec 21
4
StoryRunner docs/guidance
Hi all, Are there any plans for better documentation for the new StoryRunner feature? I tried to use it today (with Rails), and had a hard time getting my head around whether I was doing it "right" and exactly what things are appropriate to test at that level (this might be exacerbated by the fact that I''ve never really used integration testing that much). A full example of
2006 Feb 04
4
AJAX rendered select doesn''t get submitted
...ny_name"=>"", "password_confirmation"=>"", "phone_number"=>"", "password"=>"", "email"=>""}, "x"=>"48", "y"=>"10", "action"=>"create_account", "controller"=>"breeder", "address"=>{"city"=>"", "postal_code"=>"", "country"=>"US", "street_ext"=>"", "street"=>""}}
2008 Jan 29
6
Weird DB Session error, "Mysql::Error: Lost connection to MySQL server during query"
I''ve discovered something really weird in rails 1.2.3 (It could be fixed in 2.0? but I don''t know). Recently I started getting the error "Mysql::Error: Lost connection to MySQL server during query" in my application. It seemed like it had popped up almost without relation to anything. There was a page in the RoR wiki with possible solutions but none of them had worked