QA: rubocop fixes broke the tests in the builds

regenerated rubocop config so those checks also stay green

Change-Id: Ib8a88c88c02d1638e758d62eb86f2ac59feefe5d
This commit is contained in:
Cmcmahon 2015-02-23 09:23:16 -07:00
parent bd64eafe84
commit 68c8a7a65a
3 changed files with 7 additions and 11 deletions

View file

@ -9,9 +9,6 @@ Metrics/ClassLength:
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/LineLength:
Max: 100
Metrics/MethodLength:
Enabled: false

View file

@ -1,13 +1,14 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2015-02-20 09:41:11 -0700 using RuboCop version 0.29.0.
# on 2015-02-23 09:43:04 -0700 using RuboCop version 0.29.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 3
Style/AccessorMethodName:
Enabled: false
# Offense count: 2
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 113
# Offense count: 1
# Configuration parameters: AllowedVariables.

View file

@ -83,11 +83,9 @@ Given(/^I am logged in with no notifications$/) do
end
Then(/^I have no new notifications$/) do
expect(on(ArticlePage).flyout_link_element.when_present.class_name).not_to
match 'mw-echo-unread-notifications'
expect(on(ArticlePage).flyout_link_element.when_present.class_name).not_to match 'mw-echo-unread-notifications'
end
Then(/^I have new notifications$/) do
expect(on(ArticlePage).flyout_link_element.when_present.class_name).to
match 'mw-echo-unread-notifications'
expect(on(ArticlePage).flyout_link_element.when_present.class_name).to match 'mw-echo-unread-notifications'
end