aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-12-06 12:00:02 +0100
committerTeddy Wing2017-12-06 12:00:02 +0100
commitb881b679d83441fff5dfde2d76430c2b97d3500b (patch)
tree986bb49f5e26cd180a148e040da6ef5f9143d2fd
parent47181fd81105396b2db394958c39a6e40bc6f0f0 (diff)
downloadchouette-core-b881b679d83441fff5dfde2d76430c2b97d3500b.tar.bz2
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
-rw-r--r--spec/spec_helper.rb3
1 files changed, 1 insertions, 2 deletions
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