Sha256: f0e8f628324b70aa68a98f0d4a9d182293eba920727f10a9f78eb1c262415a2e

Contents?: true

Size: 647 Bytes

Versions: 3

Compression:

Stored size: 647 Bytes

Contents

require 'assert'
require 'dassets/root_path'
require 'dassets/file_store'

class Dassets::FileStore

  class BaseTests < Assert::Context
    desc "Dassets::NullFileStore"
    subject{ Dassets::NullFileStore.new }

    should have_reader :root
    should have_imeths :save, :store_path

    should "be a kind of FileStore" do
      assert_kind_of Dassets::FileStore, subject
    end

    should "build its root based on the config's root_path" do
      assert_equal Dassets::RootPath.new(''), subject.root
    end

    should "build the store path based on a given url" do
    end

    should "return the store path on save" do
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dassets-0.5.0 test/unit/file_store_tests.rb
dassets-0.4.1 test/unit/file_store_tests.rb
dassets-0.4.0 test/unit/file_store_tests.rb