dotar/bin/yadr/lib/git-style-binaries-0.1.11/test/git-style-binary/command_test.rb

18 lines
401 B
Ruby
Raw Normal View History

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