Sha256: e5527597cfa1d607c293b6c02765ade61a3016044f2beacadb9730ba188baea9

Contents?: true

Size: 413 Bytes

Versions: 6

Compression:

Stored size: 413 Bytes

Contents

require 'assert'
require 'dassets'
require 'dassets/digest_cmd'

class Dassets::DigestCmd

  class BaseTests < Assert::Context
    desc "Dassets::DigestCmd"
    setup do
      @cmd = Dassets::DigestCmd.new(['a/path'])
    end
    subject{ @cmd }

    should have_readers :paths
    should have_instance_method :run

    should "know it's paths" do
      assert_equal ['a/path'], subject.paths
    end

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dassets-0.6.2 test/unit/digest_cmd_tests.rb
dassets-0.6.1 test/unit/digest_cmd_tests.rb
dassets-0.6.0 test/unit/digest_cmd_tests.rb
dassets-0.5.0 test/unit/digest_cmd_tests.rb
dassets-0.4.1 test/unit/digest_cmd_tests.rb
dassets-0.4.0 test/unit/digest_cmd_tests.rb