diff options
| author | Vincent Bonmalais <vb.kouno@gmail.com> | 2012-11-06 14:31:55 +1100 |
|---|---|---|
| committer | Vincent Bonmalais <vb.kouno@gmail.com> | 2012-11-13 22:27:45 +1100 |
| commit | 80fb38de7abdfacbf5ad2e0150b934c1392721f0 (patch) | |
| tree | 302ee55b21e8206ab44cef819a583803b9bb0c6f /spec/models/user_spec.rb | |
| parent | d52f06f38013540a9798686aa37c4dad120c3d74 (diff) | |
| download | gitlab-ce-80fb38de7abdfacbf5ad2e0150b934c1392721f0.tar.gz | |
Remove backward compatibility of factories.
Diffstat (limited to 'spec/models/user_spec.rb')
| -rw-r--r-- | spec/models/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 5f41fb05ed1..b9654d7002c 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -108,7 +108,7 @@ describe User do describe 'authentication token' do it "should have authentication token" do - user = Factory(:user) + user = create(:user) user.authentication_token.should_not be_blank end end |
