Sha256: 9decb24def9aec0f6ab1e7851741103825c5a1de2b322d3a0845500635c99665
Contents?: true
Size: 516 Bytes
Versions: 5
Compression:
Stored size: 516 Bytes
Contents
require 'test/unit' require 'rvc' require 'inventory_fixtures' class CompletionTest < Test::Unit::TestCase NodeBaz = FixtureNode.new NodeBar = FixtureNode.new NodeFoo = FixtureNode.new('bar' => NodeBar, 'baz' => NodeBaz) Root = FixtureNode.new('foo' => NodeFoo) def check word, expected got = RVC::Completion::Completor[word] assert_equal expected, got end def setup @context = RVC::Context.new Root end def teardown @context = nil end def test_simple check end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rvc-1.3.5 | test/_test_completion.rb |
rvc-1.0.3 | test/_test_completion.rb |
rvc-1.0.2 | test/_test_completion.rb |
rvc-1.0.1 | test/_test_completion.rb |
rvc-1.0.0 | test/_test_completion.rb |