Merge pull request #4755 from consul/custom_tests

Make it easier to maintain the test suite in forks
This commit is contained in:
Javi Martín
2022-01-03 19:20:08 +01:00
committed by GitHub
6 changed files with 10 additions and 0 deletions

View File

View File

View File

@@ -0,0 +1,9 @@
RSpec.configure do |config|
# Add the :consul tag to tests which make sense in the original
# version of CONSUL but don't make sense in your application due to
# the custom changes you've implemented.
#
# Using this tag will help maintaining the test suite when doing
# custom changes and when upgrading to a newer version of CONSUL
config.filter_run_excluding consul: true
end

View File

@@ -8,6 +8,7 @@ abort("The Rails environment is running in production mode!") if Rails.env.produ
require "rspec/rails"
require "spec_helper"
require "custom_spec_helper"
require "capybara/rails"
require "capybara/rspec"
require "selenium/webdriver"

View File

0
spec/system/custom/.keep Normal file
View File