Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Commit

Permalink
Use dynamic attributes on factories
Browse files Browse the repository at this point in the history
  • Loading branch information
aitbw authored and Jonathan Tapia committed Feb 6, 2019
1 parent 67a907d commit 7ea2cda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/solidus_trackers/factories.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FactoryBot.define do
factory :tracker, class: Spree::Tracker do
analytics_id 'A100'
active true
tracker_type 'google_analytics'
analytics_id {'A100' }
active { true }
tracker_type { 'google_analytics' }
end
end

0 comments on commit 7ea2cda

Please sign in to comment.