Sha256: 632f672fe5b02ea9e157a6e2955b730131cbe2c6fa9629940ec2ab0088e33475
Contents?: true
Size: 548 Bytes
Versions: 6
Compression:
Stored size: 548 Bytes
Contents
# frozen_string_literal: true 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
6 entries across 6 versions & 1 rubygems