codeclimate/codeclimate

View on GitHub
lib/cc/analyzer/issue_validations/check_name_presence_validation.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module CC
  module Analyzer
    module IssueValidations
      class CheckNamePresenceValidation < Validation
        def valid?
          object["check_name"].present?
        end

        def message
          "Check name must be present"
        end
      end
    end
  end
end