summaryrefslogtreecommitdiff
path: root/lib/solidus_subscriptions
diff options
context:
space:
mode:
authorAlessandro Desantis <desa.alessandro@gmail.com>2020-07-30 14:52:06 +0200
committerGitHub <noreply@github.com>2020-07-30 14:52:06 +0200
commit30fca695e8d669ef82e8751b4644666c6ffa5bfd (patch)
tree022e7fc31f5f3090ee89ee7383eab53a84ae72c4 /lib/solidus_subscriptions
parentdadc35a7772a8b6066026714867cde2f8243709b (diff)
parent5f1947cc0504a6e7300a63549e0b29d64f2bec62 (diff)
Merge pull request #141 from solidusio-contrib/aldesantis/subscription-events
Subscription events
Diffstat (limited to 'lib/solidus_subscriptions')
-rw-r--r--lib/solidus_subscriptions/testing_support/factories/subscription_event_factory.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/solidus_subscriptions/testing_support/factories/subscription_event_factory.rb b/lib/solidus_subscriptions/testing_support/factories/subscription_event_factory.rb
new file mode 100644
index 0000000..0158e2e
--- /dev/null
+++ b/lib/solidus_subscriptions/testing_support/factories/subscription_event_factory.rb
@@ -0,0 +1,6 @@
+FactoryBot.define do
+ factory :subscription_event, class: 'SolidusSubscriptions::SubscriptionEvent' do
+ subscription
+ event_type { 'test_event' }
+ end
+end