Merge pull request #4755 from consul/custom_tests
Make it easier to maintain the test suite in forks
This commit is contained in:
0
spec/components/custom/.keep
Normal file
0
spec/components/custom/.keep
Normal file
0
spec/controllers/custom/.keep
Normal file
0
spec/controllers/custom/.keep
Normal file
9
spec/custom_spec_helper.rb
Normal file
9
spec/custom_spec_helper.rb
Normal 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
|
||||
@@ -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"
|
||||
|
||||
0
spec/routing/custom/.keep
Normal file
0
spec/routing/custom/.keep
Normal file
0
spec/system/custom/.keep
Normal file
0
spec/system/custom/.keep
Normal file
Reference in New Issue
Block a user