Skip to content

Commit 147937f

Browse files
committed
Rename FactoryGirl => FactoryBot
1 parent 306d557 commit 147937f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/jsonapi/templates/destroy_request_spec.rb.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ require 'rails_helper'
22

33
RSpec.describe "<%= type %>#destroy", type: :request do
44
context 'basic destroy' do
5-
let!(:<%= file_name %>) { FactoryGirl.create(:<%= file_name %>) }
5+
let!(:<%= file_name %>) { FactoryBot.create(:<%= file_name %>) }
66

77
it 'updates the resource' do
88
expect {

0 commit comments

Comments
 (0)