Sha256: d939d87d62b9c759ecb8c64debbd3bf2a9d0c796385af1e1901ae6010a783550

Contents?: true

Size: 698 Bytes

Versions: 13

Compression:

Stored size: 698 Bytes

Contents

require_relative "../test_helper"

class BaseStoreTest < Minitest::Test
  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

13 entries across 13 versions & 1 rubygems

Version Path
progressrus-1.0.3 test/store/base_test.rb
progressrus-1.0.2 test/store/base_test.rb
progressrus-1.0.1 test/store/base_test.rb
progressrus-1.0.0 test/store/base_test.rb
progressrus-0.1.8 test/store/base_test.rb
progressrus-0.1.7 test/store/base_test.rb
progressrus-0.1.6 test/store/base_test.rb
progressrus-0.1.5 test/store/base_test.rb
progressrus-0.1.4 test/store/base_test.rb
progressrus-0.1.3 test/store/base_test.rb
progressrus-0.1.2 test/store/base_test.rb
progressrus-0.1.1 test/store/base_test.rb
progressrus-0.1.0 test/store/base_test.rb