Adding 'yadr' command for managing plugins (wip)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user