Sha256: c0055ed39de464a291e03f5e6316fdfbb68e226ee8de0a0ee70326d0ab515df9

Contents?: true

Size: 708 Bytes

Versions: 4

Compression:

Stored size: 708 Bytes

Contents

require_relative "../test_helper"

class BaseStoreTest < Minitest::Unit::TestCase
  def setup
    @base = Progressrus::Store::Base.new
  end

  def test_persist_raises_not_implemented
    assert_raises Progressrus::Store::NotImplementedError do
      @base.persist(nil)
    end
  end

  def test_scope_raises_not_implemented
    assert_raises Progressrus::Store::NotImplementedError do
      @base.scope(nil)
    end
  end

  def test_find_raises_not_implemented
    assert_raises Progressrus::Store::NotImplementedError do
      @base.find(nil, nil)
    end
  end

  def test_flush_raises_not_implemented
    assert_raises Progressrus::Store::NotImplementedError do
      @base.flush(nil)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
progressrus-0.0.4 test/store/base_test.rb
progressrus-0.0.3 test/store/base_test.rb
progressrus-0.0.2 test/store/base_test.rb
progressrus-0.0.1 test/store/base_test.rb