diff --git a/Gemfile b/Gemfile index ee6a76e..8c60ae1 100644 --- a/Gemfile +++ b/Gemfile @@ -77,7 +77,7 @@ group :test do gem "shoulda-matchers", "~> 4.0", require: false gem "capybara" gem "selenium-webdriver" - gem "stripe-ruby-mock", "~> 3.0.1", require: "stripe_mock" + gem "stripe-ruby-mock", "~> 4.0.0", require: "stripe_mock" gem "simplecov", require: false end diff --git a/Gemfile.lock b/Gemfile.lock index b524a8e..e0f43a2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -418,10 +418,10 @@ GEM stimulus-rails (0.6.0) rails (>= 6.0.0) stripe (5.38.0) - stripe-ruby-mock (3.0.1) + stripe-ruby-mock (4.0.0) dante (>= 0.2.0) multi_json (~> 1.0) - stripe (> 5, < 6) + stripe (> 5, < 12) stripe_event (2.3.1) activesupport (>= 3.1) stripe (>= 2.8, < 6) @@ -506,7 +506,7 @@ DEPENDENCIES simplecov slack-notifier (~> 2.4) stripe (~> 5.38) - stripe-ruby-mock (~> 3.0.1) + stripe-ruby-mock (~> 4.0.0) stripe_event tzinfo-data view_component diff --git a/spec/services/stripe_webhooks/subscription_deleted_spec.rb b/spec/services/stripe_webhooks/subscription_deleted_spec.rb index c559aa8..508bb96 100644 --- a/spec/services/stripe_webhooks/subscription_deleted_spec.rb +++ b/spec/services/stripe_webhooks/subscription_deleted_spec.rb @@ -1,6 +1,6 @@ require "rails_helper" -RSpec.xdescribe StripeWebhooks::SubscriptionDeleted do +RSpec.describe StripeWebhooks::SubscriptionDeleted do let(:team) { teams(:acme) } before { StripeMock.start } diff --git a/spec/services/stripe_webhooks/subscription_updated_spec.rb b/spec/services/stripe_webhooks/subscription_updated_spec.rb index 5b913be..0c0de26 100644 --- a/spec/services/stripe_webhooks/subscription_updated_spec.rb +++ b/spec/services/stripe_webhooks/subscription_updated_spec.rb @@ -1,6 +1,6 @@ require "rails_helper" -RSpec.xdescribe StripeWebhooks::SubscriptionUpdated do +RSpec.describe StripeWebhooks::SubscriptionUpdated do let(:team) { teams(:acme) } before { StripeMock.start }