Sha256: 5b0a3a403e195d875ad560cbfb521717434b573e647e93e640daf465f9d9de2d
Contents?: true
Size: 529 Bytes
Versions: 9
Compression:
Stored size: 529 Bytes
Contents
require 'rom/lint/repository' require 'rom/lint/enumerable_dataset' RSpec.shared_examples "a rom repository" do ROM::Lint::Repository.each_lint do |name, linter| it name do result = linter.new(identifier, repository, 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
9 entries across 9 versions & 1 rubygems