Skip to content

Commit

Permalink
Corrected Style/TrailingComma RuboCop offenses
Browse files Browse the repository at this point in the history
Change-Id: I95aef92162b9e527729acf61a75d10de50e65838
  • Loading branch information
marxarelli committed Feb 23, 2015
1 parent e168433 commit 6352021
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
Style/StringLiterals:
Enabled: false

# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
Style/TrailingComma:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
Expand Down
2 changes: 1 addition & 1 deletion lib/mediawiki_selenium/remote_browser_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def teardown(env, status)
payload: {
public: true,
passed: status == :passed,
build: env.lookup(:build_number, default: nil),
build: env.lookup(:build_number, default: nil)
}.to_json
)

Expand Down
10 changes: 5 additions & 5 deletions spec/environment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module MediawikiSelenium
mediawiki_api_url: mediawiki_api_url,
mediawiki_url: mediawiki_url,
mediawiki_user: mediawiki_user,
mediawiki_password: mediawiki_password,
mediawiki_password: mediawiki_password
}
end

Expand Down Expand Up @@ -98,7 +98,7 @@ module MediawikiSelenium
mediawiki_user: "user",
mediawiki_password: "pass",
mediawiki_user_b: "user b",
mediawiki_password_b: "pass b",
mediawiki_password_b: "pass b"
}
end

Expand All @@ -117,7 +117,7 @@ module MediawikiSelenium
{
mediawiki_user: "user",
mediawiki_password: "pass",
mediawiki_user_b: "user b",
mediawiki_user_b: "user b"
}
end

Expand Down Expand Up @@ -319,7 +319,7 @@ module MediawikiSelenium
{
mediawiki_url: "http://an.example/wiki",
mediawiki_url_b: "http://altb.example/wiki",
mediawiki_url_c: "http://altc.example/wiki",
mediawiki_url_c: "http://altc.example/wiki"
}
end

Expand Down Expand Up @@ -429,7 +429,7 @@ module MediawikiSelenium
mediawiki_url: "http://a.example/wiki",
mediawiki_url_b: "http://b.example/wiki",
mediawiki_api_url: "http://a.example/api",
mediawiki_api_url_b: "http://b.example/api",
mediawiki_api_url_b: "http://b.example/api"
}
end

Expand Down

0 comments on commit 6352021

Please sign in to comment.