Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fixes a typo in the event_spec.rb

Stefan Vermaas1b1cbd2fe125
diff --git a/api/spec/models/spree/webhooks/event_spec.rb b/api/spec/models/spree/webhooks/event_spec.rb
index a620afb48a..3a9f1550aa 100644
--- a/api/spec/models/spree/webhooks/event_spec.rb
+++ b/api/spec/models/spree/webhooks/event_spec.rb
@@ -15,7 +15,7 @@ describe Spree::Webhooks::Event do
end
end
- context 'susbcriber' do
+ context 'subscriber' do
it 'is invalid without a subscriber' do
event = build(:event, :successful, subscriber_id: nil)
expect(event.valid?).to be(false)