diff --git a/engines/order_management/spec/spec_helper.rb b/engines/order_management/spec/spec_helper.rb deleted file mode 100644 index 1be4512650..0000000000 --- a/engines/order_management/spec/spec_helper.rb +++ /dev/null @@ -1,10 +0,0 @@ -ENV["RAILS_ENV"] = "test" - -require "order_management" -require "../../spec/spec_helper" - -# Require factories in Spree and main application. -require 'spree/testing_support/factories' -require '../../spec/factories' - -Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } diff --git a/engines/web/spec/spec_helper.rb b/engines/web/spec/spec_helper.rb deleted file mode 100644 index 9cfd0bc717..0000000000 --- a/engines/web/spec/spec_helper.rb +++ /dev/null @@ -1,3 +0,0 @@ -require "../../spec/spec_helper.rb" - -Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } diff --git a/lib/tasks/specs.rake b/lib/tasks/specs.rake index bd6708dcf6..e1b91c22a3 100644 --- a/lib/tasks/specs.rake +++ b/lib/tasks/specs.rake @@ -10,7 +10,7 @@ namespace :ofn do end def execute_rspec_for_engine(engine_path) - system "cd #{engine_path.expand_path} && DISABLE_KNAPSACK=true bundle exec rspec" + system "DISABLE_KNAPSACK=true bundle exec rspec #{engine_path.expand_path}/spec" end engine_paths = detect_engine_paths