FarmBot/OpenFarm

View on GitHub
spec/policies/application_policy_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

(...) interpreted as grouped expression.
Open

  let (:admin) { FactoryBot.create :user, admin: true }

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad
do_something (foo)

# good
do_something(foo)
do_something (2 + 3) * 4
do_something (foo * bar).baz

(...) interpreted as grouped expression.
Open

  let (:other_user) { FactoryBot.create :user }

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad
do_something (foo)

# good
do_something(foo)
do_something (2 + 3) * 4
do_something (foo * bar).baz

(...) interpreted as grouped expression.
Open

  let (:private_user) { FactoryBot.create :user, is_private: true }

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad
do_something (foo)

# good
do_something(foo)
do_something (2 + 3) * 4
do_something (foo * bar).baz

(...) interpreted as grouped expression.
Open

  let (:current_user) { FactoryBot.create :user }

Checks for space between the name of a called method and a left parenthesis.

Example:

# bad
do_something (foo)

# good
do_something(foo)
do_something (2 + 3) * 4
do_something (foo * bar).baz

There are no issues that match your filters.

Category
Status