mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
12 lines
217 B
Ruby
12 lines
217 B
Ruby
|
require 'spec_helper'
|
||
|
|
||
|
describe UserStat do
|
||
|
|
||
|
it { should belong_to :user }
|
||
|
|
||
|
it "is created automatically when a user is created" do
|
||
|
user = Fabricate(:evil_trout)
|
||
|
user.user_stat.should be_present
|
||
|
end
|
||
|
|
||
|
end
|