Sha256: 850f763fbd644659e760dae96ff31ff75864e22901084fc7f9cf090a5bd4ab79

Contents?: true

Size: 554 Bytes

Versions: 9

Compression:

Stored size: 554 Bytes

Contents

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

require 'minitest/autorun'

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

  def setup
    @repository = ROM::Memory::Repository
    @identifier = :memory
  end

  def repository_instance
    ROM::Memory::Repository.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

9 entries across 9 versions & 1 rubygems

Version Path
rom-0.7.1 spec/test/memory_repository_lint_test.rb
rom-0.7.0 spec/test/memory_repository_lint_test.rb
rom-0.6.2 spec/test/memory_repository_lint_test.rb
rom-0.6.1 spec/test/memory_repository_lint_test.rb
rom-0.6.0 spec/test/memory_repository_lint_test.rb
rom-0.6.0.rc1 spec/test/memory_repository_lint_test.rb
rom-0.6.0.beta3 spec/test/memory_repository_lint_test.rb
rom-0.6.0.beta2 spec/test/memory_repository_lint_test.rb
rom-0.6.0.beta1 spec/test/memory_repository_lint_test.rb