From 405f2225e6ef00fa4652314198b427de8cadae18 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 10 Jul 2015 12:41:47 +0200 Subject: [PATCH] rubocop: ignore node_modules and fix a single offense Make rubocop pass: - fix a trivial double quotes error - ignore 'node_modules' useful when one ran 'npm install' Change-Id: Id1ab83df0bec4fc7b223f33016c8f18316509b7a --- .rubocop.yml | 1 + tests/browser/features/step_definitions/create_account_steps.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 61ffc1a044..5b6c3f2dc6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,7 @@ AllCops: Exclude: - 'extensions/**/*' + - 'node_modules/**/*' - 'skins/**/*' - 'tests/frontend/node_modules/**/*' - 'vendor/**/*' diff --git a/tests/browser/features/step_definitions/create_account_steps.rb b/tests/browser/features/step_definitions/create_account_steps.rb index 3d312f7bd8..98e0f2cb04 100644 --- a/tests/browser/features/step_definitions/create_account_steps.rb +++ b/tests/browser/features/step_definitions/create_account_steps.rb @@ -22,5 +22,5 @@ When(/^I submit the form$/) do end Then(/^an error message is displayed$/) do - expect(on(CreateAccountPage).error_message_element.class_name).to eq "errorbox" + expect(on(CreateAccountPage).error_message_element.class_name).to eq 'errorbox' end -- 2.20.1