Sha256: 887cba1031ce5d3ec997e18f56f2c64ccb48565fc86464614c526a339da954bb
Contents?: true
Size: 517 Bytes
Versions: 38
Compression:
Stored size: 517 Bytes
Contents
require 'rom/lint/gateway' require 'rom/lint/enumerable_dataset' RSpec.shared_examples "a rom gateway" do ROM::Lint::Gateway.each_lint do |name, linter| it name do result = linter.new(identifier, gateway, uri).lint(name) expect(result).to be_truthy end end end RSpec.shared_examples "a rom enumerable dataset" do ROM::Lint::EnumerableDataset.each_lint do |name, linter| it name do result = linter.new(dataset, data).lint(name) expect(result).to be_truthy end end end
Version data entries
38 entries across 38 versions & 2 rubygems