Sha256: 708956a6d8a9865d0f00233afbf22c615ad125f9b9c1dd3631617f33c8a3158e

Contents?: true

Size: 1.31 KB

Versions: 32

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

32 entries across 32 versions & 1 rubygems

Version Path
muck-services-0.1.47 test/rails_root/test/unit/user_test.rb
muck-services-0.1.46 test/rails_root/test/unit/user_test.rb
muck-services-0.1.45 test/rails_root/test/unit/user_test.rb
muck-services-0.1.44 test/rails_root/test/unit/user_test.rb
muck-services-0.1.43 test/rails_root/test/unit/user_test.rb
muck-services-0.1.42 test/rails_root/test/unit/user_test.rb
muck-services-0.1.41 test/rails_root/test/unit/user_test.rb
muck-services-0.1.40 test/rails_root/test/unit/user_test.rb
muck-services-0.1.39 test/rails_root/test/unit/user_test.rb
muck-services-0.1.38 test/rails_root/test/unit/user_test.rb
muck-services-0.1.37 test/rails_root/test/unit/user_test.rb
muck-services-0.1.36 test/rails_root/test/unit/user_test.rb
muck-services-0.1.35 test/rails_root/test/unit/user_test.rb
muck-services-0.1.34 test/rails_root/test/unit/user_test.rb
muck-services-0.1.33 test/rails_root/test/unit/user_test.rb
muck-services-0.1.32 test/rails_root/test/unit/user_test.rb
muck-services-0.1.31 test/rails_root/test/unit/user_test.rb
muck-services-0.1.30 test/rails_root/test/unit/user_test.rb
muck-services-0.1.29 test/rails_root/test/unit/user_test.rb
muck-services-0.1.28 test/rails_root/test/unit/user_test.rb