Refactor FactoryGirl calls to Factory
This commit is contained in:
1 parent
1fc3be42de
commit
e015afed1d
2 files changed
+2
-2
No files matched your search
@@ -2,7 +2,7 @@ require 'spec_helper'
|
||||
|
||||
describe Playlist do
|
||||
subject { playlist }
|
||||
let(:playlist) { FactoryGirl.build(:playlist) }
|
||||
let(:playlist) { Factory.build(:playlist) }
|
||||
|
||||
context 'with valid attributes' do
|
||||
it { should be_valid }
|
||||
|
||||
@@ -2,7 +2,7 @@ require 'spec_helper'
|
||||
|
||||
describe Track do
|
||||
subject { track }
|
||||
let(:track) { FactoryGirl.build(:track) }
|
||||
let(:track) { Factory.build(:track) }
|
||||
|
||||
context 'with valid attributes' do
|
||||
it { should be_valid }
|
||||
|
||||
Reference in new issue
Block a user