zeisler/active_mocker

View on GitHub
lib/active_mocker/parent_class.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [124/120] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

    def initialize(parsed_source:, klasses_to_be_mocked:, mock_append_name:, active_record_base_klass: ::ActiveRecord::Base)
Severity: Minor
Found in lib/active_mocker/parent_class.rb by rubocop

Add an empty line after magic comments. (https://github.com/bbatsov/ruby-style-guide#separate-magic-comments-from-code)
Open

module ActiveMocker
Severity: Minor
Found in lib/active_mocker/parent_class.rb by rubocop

Checks for a newline after the final magic comment.

Example:

# good
# frozen_string_literal: true

# Some documentation for Person
class Person
  # Some code
end

# bad
# frozen_string_literal: true
# Some documentation for Person
class Person
  # Some code
end

There are no issues that match your filters.

Category
Status