Sha256: 3e15f18a7cb5e6d1f224628228cb3b7a87e18bb5d64c3d3bd4b6d1544dae5d57

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 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
    
    subject { @user }
    
    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

4 entries across 4 versions & 1 rubygems

Version Path
muck-services-0.1.14 test/rails_root/test/unit/user_test.rb
muck-services-0.1.13 test/rails_root/test/unit/user_test.rb
muck-services-0.1.12 test/rails_root/test/unit/user_test.rb
muck-services-0.1.11 test/rails_root/test/unit/user_test.rb