Sha256: 98d69afb6eb1caad9992c02bb463f9f2750c06c77f1f55d33297a9d32252444b

Contents?: true

Size: 305 Bytes

Versions: 15

Compression:

Stored size: 305 Bytes

Contents

require_relative "../test_utils"

module Metacrunch
  class TestUtils::DummyDestination

    attr_reader :data

    def write(row)
      @write_called = true
      (@data ||= []) << row
    end

    def close
      @close_called = true
    end

  end

  class TestUtils::InvalidDummyDestination
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
metacrunch-4.2.0 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-4.1.1 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-4.1.0 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-4.0.3 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-4.0.2 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-4.0.1 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-3.1.4 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-3.1.3 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-3.1.2 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-3.1.1 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-3.1.0 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-3.0.3 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-3.0.2 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-3.0.1 lib/metacrunch/test_utils/dummy_destination.rb
metacrunch-3.0.0 lib/metacrunch/test_utils/dummy_destination.rb