rename factory_girl_(rails) to factory_bot_(rails)

This commit is contained in:
Ralf Teusner
2017-11-15 15:18:07 +01:00
parent 951b71780c
commit 0e26ab98c8
68 changed files with 253 additions and 253 deletions

View File

@ -2,7 +2,7 @@ require 'rails_helper'
describe FileUploader do
let(:file_path) { Rails.root.join('db', 'seeds', 'fibonacci', 'exercise.rb') }
let(:uploader) { described_class.new(FactoryGirl.create(:file)) }
let(:uploader) { described_class.new(FactoryBot.create(:file)) }
before(:each) { uploader.store!(File.open(file_path, 'r')) }
after(:each) { uploader.remove! }