Skip to content

Commit

Permalink
Merge pull request #5956 from mamhoff/allow-passing-in-user-class
Browse files Browse the repository at this point in the history
Test app task: Allow passing in user class
  • Loading branch information
kennyadsl authored Dec 2, 2024
2 parents b388c0a + 520efc0 commit 9013f71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/spree/testing_support/extension_rake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

desc "Generates a dummy app for testing an extension"
namespace :extension do
task :test_app, [:user_class] do |_t, _args|
task :test_app, [:user_class] do |_t, args|
Spree::DummyGeneratorHelper.inject_extension_requirements = true
Rake::Task['common:test_app'].invoke
Rake::Task['common:test_app'].invoke(args[:user_class])
end
end

0 comments on commit 9013f71

Please sign in to comment.