test/unit/user_test.rb
# Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead.
# Then, you can remove it from this and the functional test.
Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead.
Then, you can remove it from this and the functional test.
Be sure to include AuthenticatedTestHelper in test / test_helper . rb instead . Then you can remove it from this and the functional test .
def create_user(options = {})
    record = User.new({ :login => 'quire', :email => 'quire@example.com', :password => 'quire69', :password_confirmation => 'quire69' }.merge(options))
    record.save
    record
  end
def create_user ( options = { } ) record = User . new ( { :login => 'quire' , :email => 'quire@example.com' , :password => 'quire69' , :password_confirmation => 'quire69' } . merge ( options ) ) record . save record end
Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead.
Be sure to include AuthenticatedTestHelper in test / test_helper . rb instead .
options