Sha256: 56567250162a4c2eea2f246bac8ffebfcbe71ec2a01e5a213aa8396fb0dc51d9
Contents?: true
Size: 520 Bytes
Versions: 4
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true module NeetoCompliance class CypressPluginsIndexVerifier < Base def local_copy "cypress-tests/cypress/plugins/index.js" end def commons_copy NeetoCompliance::NeetoCommons.path.join "common_files/cypress-tests/cypress/plugins/index.js" end def verify_command "diff -N #{commons_copy} #{local_copy}" end def valid? `#{verify_command}`.empty? end def autofix_command "cp #{commons_copy} #{local_copy}" end end end
Version data entries
4 entries across 4 versions & 2 rubygems