Skip to content

Commit

Permalink
Pass Factory class as string to appease the 🚓
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed authored and cbeer committed Nov 25, 2019
1 parent 853b632 commit 4a3f998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/factories/dlme_jsons.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

FactoryBot.define do
factory :dlme_json, class: DlmeJson do
factory :dlme_json, class: 'DlmeJson' do
data do
{ json: '{"id":"test_id", "agg_provider":"factorybot", ' \
'"agg_data_provider":"factorybot", "cho_title":["test object"]}' }
Expand Down

0 comments on commit 4a3f998

Please sign in to comment.