rubocop: ignore node_modules and fix a single offense
authorAntoine Musso <hashar@free.fr>
Fri, 10 Jul 2015 10:41:47 +0000 (12:41 +0200)
committerAntoine Musso <hashar@free.fr>
Fri, 10 Jul 2015 10:41:47 +0000 (12:41 +0200)
Make rubocop pass:
- fix a trivial double quotes error
- ignore 'node_modules' useful when one ran 'npm install'

Change-Id: Id1ab83df0bec4fc7b223f33016c8f18316509b7a

.rubocop.yml
tests/browser/features/step_definitions/create_account_steps.rb

index 61ffc1a..5b6c3f2 100644 (file)
@@ -1,6 +1,7 @@
 AllCops:
   Exclude:
     - 'extensions/**/*'
+    - 'node_modules/**/*'
     - 'skins/**/*'
     - 'tests/frontend/node_modules/**/*'
     - 'vendor/**/*'
index 3d312f7..98e0f2c 100644 (file)
@@ -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