Remove backward compatibility of factories.
This commit is contained in:
parent
d52f06f380
commit
80fb38de7a
54 changed files with 261 additions and 279 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue