tests and travis succeeding

This commit is contained in:
benji 2015-03-20 02:33:37 +01:00
parent 6ca2ecebc2
commit 7a5b1f20dd
3 changed files with 7 additions and 15 deletions

View file

@ -4,10 +4,8 @@
#
# id :integer not null, primary key
# debt_cents :integer default("0"), not null
# nickname :string
# created_at :datetime
# updated_at :datetime
# encrypted_password :string default(""), not null
# remember_created_at :datetime
# sign_in_count :integer default("0"), not null
# current_sign_in_at :datetime
@ -24,6 +22,7 @@
# koelkast :boolean default("f")
# provider :string
# uid :string
# encrypted_password :string
#
class User < ActiveRecord::Base

View file

@ -4,10 +4,8 @@
#
# id :integer not null, primary key
# debt_cents :integer default("0"), not null
# nickname :string
# created_at :datetime
# updated_at :datetime
# encrypted_password :string default(""), not null
# remember_created_at :datetime
# sign_in_count :integer default("0"), not null
# current_sign_in_at :datetime
@ -24,21 +22,22 @@
# koelkast :boolean default("f")
# provider :string
# uid :string
# encrypted_password :string
#
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
benji:
nickname: benji
uid: benji
dagschotel_id: 1
iasoon:
nickname: iasoon
uid: iasoon
admin:
nickname: admin
uid: admin
admin: 1
koelkast:
nickname: koelkast
uid: koelkast
koelkast: 1

View file

@ -4,10 +4,8 @@
#
# id :integer not null, primary key
# debt_cents :integer default("0"), not null
# nickname :string
# created_at :datetime
# updated_at :datetime
# encrypted_password :string default(""), not null
# remember_created_at :datetime
# sign_in_count :integer default("0"), not null
# current_sign_in_at :datetime
@ -24,6 +22,7 @@
# koelkast :boolean default("f")
# provider :string
# uid :string
# encrypted_password :string
#
require 'test_helper'
@ -46,9 +45,4 @@ class UserTest < ActiveSupport::TestCase
test "to_param" do
assert_equal @user.to_param, "#{@user.id}-benji"
end
test "devise validatable methods" do
assert_not @user.email_required?
assert_not @user.email_changed?
end
end