Refactor FactoryGirl calls to Factory
This commit is contained in:
parent
1fc3be42de
commit
e015afed1d
@ -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 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user