From edf00eb862bb75053cda8078a1c1d616af2291ec Mon Sep 17 00:00:00 2001 From: swcraig Date: Thu, 31 Aug 2017 17:04:36 -0700 Subject: [PATCH 1/2] Remove unused Paperclip matchers from backend These do not appear to be used. --- backend/spec/spec_helper.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/spec/spec_helper.rb b/backend/spec/spec_helper.rb index ee2cd4b02ba..16fac4f3a45 100644 --- a/backend/spec/spec_helper.rb +++ b/backend/spec/spec_helper.rb @@ -40,8 +40,6 @@ require 'spree/testing_support/order_walkthrough' require 'spree/testing_support/capybara_ext' -require 'paperclip/matchers' - require 'capybara-screenshot/rspec' Capybara.save_path = ENV['CIRCLE_ARTIFACTS'] if ENV['CIRCLE_ARTIFACTS'] @@ -119,8 +117,6 @@ config.include Spree::TestingSupport::ControllerRequests, type: :controller config.include Spree::TestingSupport::Flash - config.include Paperclip::Shoulda::Matchers - config.extend WithModel config.fail_fast = ENV['FAIL_FAST'] || false From a2d0dd0c1abf5bf6261724c44cc7021adbe505eb Mon Sep 17 00:00:00 2001 From: swcraig Date: Thu, 31 Aug 2017 17:05:12 -0700 Subject: [PATCH 2/2] Remove unused Paperclip matchers from frontend These do not appear to be used. --- frontend/spec/spec_helper.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/spec/spec_helper.rb b/frontend/spec/spec_helper.rb index 16387d194a0..9d23685908c 100644 --- a/frontend/spec/spec_helper.rb +++ b/frontend/spec/spec_helper.rb @@ -45,8 +45,6 @@ require 'spree/testing_support/order_walkthrough' require 'spree/testing_support/caching' -require 'paperclip/matchers' - require 'capybara-screenshot/rspec' Capybara.save_path = ENV['CIRCLE_ARTIFACTS'] if ENV['CIRCLE_ARTIFACTS'] @@ -118,8 +116,6 @@ config.include Spree::TestingSupport::ControllerRequests, type: :controller config.include Spree::TestingSupport::Flash - config.include Paperclip::Shoulda::Matchers - config.fail_fast = ENV['FAIL_FAST'] || false config.example_status_persistence_file_path = "./spec/examples.txt"