Sha256: c5a387de5f04219b6bfc590494c6723dea35868681a80b218eae8500bf658de8

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

require "kikeru/container"

class ContainerTest < Test::Unit::TestCase
  def setup
    @container = Kikeru::Container.new
  end

  def test_no_argument
    valid = @container.__send__(:file?, nil)
    assert_false(valid)
  end

  def test_missing_file
    valid = @container.__send__(:file?, "hoge")
    assert_false(valid)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kikeru-0.0.2 test/test-container.rb
kikeru-0.0.1 test/test-container.rb