diff --git a/spec/models/spree/image_spec.rb b/spec/models/spree/image_spec.rb index 3b80fb686cfa..d20ab9eb7156 100644 --- a/spec/models/spree/image_spec.rb +++ b/spec/models/spree/image_spec.rb @@ -85,7 +85,7 @@ module Spree expect(attachment.attached?).to eq true url = Rails.application.routes.url_helpers.url_for(attachment) - expect(url).to match %r|^http://test\.host/rails/active_storage/blobs/redirect/[[:alnum:]-]+/logo-black\.png$| + expect(url).to match %r|^http://test\.host/rails/active_storage/blobs/redirect/[[:alnum:]=-]+/logo-black\.png$| end end @@ -103,7 +103,7 @@ module Spree expect(subject.attachment).to be_attached expect(Rails.application.routes.url_helpers.url_for(subject.attachment)). - to match %r"^http://test\.host/rails/active_storage/blobs/redirect/[[:alnum:]-]+/logo-black\.png" + to match %r"^http://test\.host/rails/active_storage/blobs/redirect/[[:alnum:]=-]+/logo-black\.png" end end end