From 0e7f1bfb69ce1eb06f742739b7433c11f3629aa6 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 28 Apr 2015 23:08:11 +0200 Subject: [PATCH] Applied rubocop tips. --- test/browser_test_helper.rb | 2 +- test/integration_test_helper.rb | 1 + test/test_helper.rb | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 295244047..56f029278 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -1,5 +1,5 @@ ENV['RAILS_ENV'] = 'test' -# rubocop:disable Next, CyclomaticComplexity, PerceivedComplexity, HandleExceptions +# rubocop:disable Next, CyclomaticComplexity, PerceivedComplexity, HandleExceptions, ClassVars, NonLocalExitFromIterator require File.expand_path('../../config/environment', __FILE__) require 'selenium-webdriver' diff --git a/test/integration_test_helper.rb b/test/integration_test_helper.rb index 0475463fe..b68ced88e 100644 --- a/test/integration_test_helper.rb +++ b/test/integration_test_helper.rb @@ -1,4 +1,5 @@ ENV['RAILS_ENV'] = 'test' +# rubocop:disable ClassAndModuleChildren require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' require 'cache' diff --git a/test/test_helper.rb b/test/test_helper.rb index b674375e8..dc5acefd4 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,4 +1,5 @@ ENV['RAILS_ENV'] = 'test' +# rubocop:disable ClassAndModuleChildren require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' require 'cache'