Sha256: ca46b4c13bd08a191d12a613a03c3a7ae7863c092026985c6029123edd6dd72e
Contents?: true
Size: 548 Bytes
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-6.0.0.alpha1 | lib/rom/lint/spec.rb |