Skip to content

Commit

Permalink
[temp] add solidus_legacy_promotions as backend dependency
Browse files Browse the repository at this point in the history
In the future, the admin views for legacy promotions will live in the
solidus_legacy_promotions gems. This is just to see if we get a green
build.
  • Loading branch information
mamhoff committed Feb 29, 2024
1 parent 469e6a7 commit 8b1a5f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/lib/solidus_backend.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true

require 'spree_backend'
require 'solidus_legacy_promotions'
1 change: 1 addition & 0 deletions backend/solidus_backend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Gem::Specification.new do |s|

s.add_dependency 'solidus_api', s.version
s.add_dependency 'solidus_core', s.version
s.add_dependency 'solidus_legacy_promotions', s.version

s.add_dependency 'font-awesome-rails', '~> 4.0'
s.add_dependency 'jbuilder', '~> 2.8'
Expand Down
3 changes: 3 additions & 0 deletions backend/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
require 'spree/testing_support/blacklist_urls'
require 'spree/testing_support/silence_deprecations'

require 'solidus_legacy_promotions/testing_support/factory_bot'

require 'capybara-screenshot/rspec'
Capybara.save_path = ENV['CIRCLE_ARTIFACTS'] if ENV['CIRCLE_ARTIFACTS']
Capybara.exact = true
Expand Down Expand Up @@ -79,6 +81,7 @@

ActiveJob::Base.queue_adapter = :test

SolidusLegacyPromotions::TestingSupport::FactoryBot.add_definitions!
Spree::TestingSupport::FactoryBot.add_paths_and_load!

RSpec.configure do |config|
Expand Down

0 comments on commit 8b1a5f9

Please sign in to comment.