Sha256: 4062288e9cf2854276d87642ee0c275898202bfd75232e2d434fc8cc2e4ecdb6

Contents?: true

Size: 539 Bytes

Versions: 6

Compression:

Stored size: 539 Bytes

Contents

require 'rom'
require 'rom/memory'
require 'rom/lint/test'

require 'minitest/autorun'

class MemoryRepositoryLintTest < Minitest::Test
  include ROM::Lint::TestGateway

  def setup
    @gateway = ROM::Memory::Gateway
    @identifier = :memory
  end

  def gateway_instance
    ROM::Memory::Gateway.new
  end
end

class MemoryDatasetLintTest < Minitest::Test
  include ROM::Lint::TestEnumerableDataset

  def setup
    @data  = [{ name: 'Jane', age: 24 }, { name: 'Joe', age: 25 }]
    @dataset = ROM::Memory::Dataset.new(@data)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rom-0.9.1 spec/test/memory_repository_lint_test.rb
rom-0.9.0 spec/test/memory_repository_lint_test.rb
rom-0.9.0.rc1 spec/test/memory_repository_lint_test.rb
rom-0.9.0.beta1 spec/test/memory_repository_lint_test.rb
rom-0.8.1 spec/test/memory_repository_lint_test.rb
rom-0.8.0 spec/test/memory_repository_lint_test.rb