Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint: Fix various offenses, mostly rspec #992

Merged
merged 1 commit into from Sep 19, 2017
Merged

Conversation

jaredbeck
Copy link
Member

  • Fix Lint/RescueWithoutErrorClass
    • And I use the term "fix" loosely
  • Fix RSpec/PredicateMatcher
    • The failure message should actually be better this way too.
  • RSpec/LetBeforeExamples
  • RSpec/HookArgument
  • Fix RSpec/ExpectInHook in widget_spec.rb
  • Fix RSpec/MessageSpies
    • I like spies. I've never linted them before, but I like how they
      separate test setup from assertions.

- Fix Lint/RescueWithoutErrorClass
  - And I use the term "fix" loosely
- Fix RSpec/PredicateMatcher
  - The failure message should actually be better this way too.
- RSpec/LetBeforeExamples
- RSpec/HookArgument
- Fix RSpec/ExpectInHook in widget_spec.rb
- Fix RSpec/MessageSpies
  - I like spies. I've never linted them before, but I like how they
    separate test setup from assertions.
@jaredbeck jaredbeck merged commit eb0b8a2 into master Sep 19, 2017
@jaredbeck jaredbeck deleted the linting_20170918 branch September 19, 2017 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant