aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-12-05 11:46:35 +0100
committerTeddy Wing2017-12-05 11:46:35 +0100
commitc9327dcc0c8ba0b3ed6704d07350424b56bbc0f6 (patch)
treee5efa796a23004a1d9310c58c787819e2e28f50f
parent5a3b8025a1b11bb043d9d3f96d6b155f03e6f142 (diff)
downloadchouette-core-c9327dcc0c8ba0b3ed6704d07350424b56bbc0f6.tar.bz2
spec_helper.rb: Use new Ruby hash syntax
Refs #5024
-rw-r--r--spec/spec_helper.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index c8da5ad5c..d8c6c92ef 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -63,11 +63,11 @@ RSpec.configure do |config|
Capybara.javascript_driver = :poltergeist
# :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 meta: true
+ config.filter_run_excluding truncation: true
+ config.filter_run wip: true
config.run_all_when_everything_filtered = true
- config.include TokenInputHelper, :type => :feature
+ config.include TokenInputHelper, type: :feature
# ## Mock Framework
#
@@ -92,7 +92,7 @@ RSpec.configure do |config|
# You can disable this behaviour by removing the line below, and instead
# explicitly tag your specs with their type, e.g.:
#
- # RSpec.describe UsersController, :type => :controller do
+ # RSpec.describe UsersController, type: :controller do
# # ...
# end
#