Sha256: f614576f51eb60e2325bd59a89bd62e375dfd72e9cf9d5dbbe4afc1c830e658d

Contents?: true

Size: 1.28 KB

Versions: 36

Compression:

Stored size: 1.28 KB

Contents

# == Schema Information
#
# Table name: users
#
#  id                  :integer(4)      not null, primary key
#  login               :string(255)
#  email               :string(255)
#  first_name          :string(255)
#  last_name           :string(255)
#  crypted_password    :string(255)
#  password_salt       :string(255)
#  persistence_token   :string(255)
#  single_access_token :string(255)
#  perishable_token    :string(255)
#  login_count         :integer(4)      default(0), not null
#  failed_login_count  :integer(4)      default(0), not null
#  last_request_at     :datetime
#  last_login_at       :datetime
#  current_login_at    :datetime
#  current_login_ip    :string(255)
#  last_login_ip       :string(255)
#  terms_of_service    :boolean(1)      not null
#  time_zone           :string(255)     default("UTC")
#  disabled_at         :datetime
#  activated_at        :datetime
#  created_at          :datetime
#  updated_at          :datetime
#

require File.dirname(__FILE__) + '/../test_helper'

class UserTest < ActiveSupport::TestCase
  context "users" do
    setup do
      @user = Factory(:user)
    end
    should_have_many :feed_parents
    should_have_many :aggregations
    should_have_many :feeds
    should_have_many :own_feeds
    should_have_many :identity_feeds
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
muck-services-0.1.10 test/rails_root/test/unit/user_test.rb
muck-services-0.1.9 test/rails_root/test/unit/user_test.rb
muck-services-0.1.8 test/rails_root/test/unit/user_test.rb
muck-services-0.1.7 test/rails_root/test/unit/user_test.rb
muck-services-0.1.6 test/rails_root/test/unit/user_test.rb
muck-services-0.1.5 test/rails_root/test/unit/user_test.rb
muck-services-0.1.4 test/rails_root/test/unit/user_test.rb
muck-services-0.1.3 test/rails_root/test/unit/user_test.rb
muck-services-0.1.2 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.11 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.10 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.9 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.8 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.7 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.6 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.5 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.4 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.3 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.2 test/rails_root/test/unit/user_test.rb
muck-raker-0.2.0 test/rails_root/test/unit/user_test.rb