From b881b679d83441fff5dfde2d76430c2b97d3500b Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 6 Dec 2017 12:00:02 +0100 Subject: spec_helper.rb: Enable `truncation` test; Disable `wip` tests I didn't notice this when I added the `truncation` filter to my `referentials` table lock test, but the way the specs are configured, it wouldn't be run by default with the rest of the tests. Luc did notice, and suggested we change the filter options. We will now always run tests with the `truncation: true` filter (removing the `filter_run_excluding` config makes them enabled), as these include JavaScript-dependent feature tests that we want to be sure to execute. Additionally, we exclude tests with the `wip: true` filter, as it doesn't really make sense to run these "work in progress" tests by default. Refs #5024 --- spec/spec_helper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'spec/spec_helper.rb') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9fdca585e..78438701a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -65,8 +65,7 @@ RSpec.configure do |config| # :meta tests can be run seperately in case of doubt about the tests themselves # they serve mainly as an explanataion of complicated tests (as e.g. PG information_schema introspection) config.filter_run_excluding meta: true - config.filter_run_excluding truncation: true - config.filter_run wip: true + config.filter_run_excluding wip: true config.run_all_when_everything_filtered = true config.include TokenInputHelper, type: :feature -- cgit v1.2.3