Sha256: 6d3383eca2077bdf4d358da2d8c443091a0385926ef7b4d7b522463bed6f19bb

Contents?: true

Size: 396 Bytes

Versions: 2

Compression:

Stored size: 396 Bytes

Contents

require File.dirname(__FILE__) + "/../test_helper.rb"
require 'git-style-binary/command'

class CommandTest < Test::Unit::TestCase
  context "cmd" do
    setup do
      @c = GitStyleBinary::Command.new
    end

    should "be able to easily work with constraints" do
      assert_equal @c.constraints, []
      @c.constraints << "foo"
      assert_equal @c.constraints, ["foo"]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jashmenn-git-style-binaries-0.1.3 test/git-style-binary/command_test.rb
jashmenn-git-style-binaries-0.1.4 test/git-style-binary/command_test.rb