Sha256: d5c96a09b9f1fc06e9432014ee1f170e54273f83ff062a8b70735ed2f628f82c
Contents?: true
Size: 498 Bytes
Versions: 6
Compression:
Stored size: 498 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../../../../test_helper") describe ::Inch::CLI::Command::Options::BaseObject do it "should run parse without errors" do @options = ::Inch::CLI::Command::Options::BaseObject.new @options.parse(["--no-color"]) end it "should interpret options" do @options = ::Inch::CLI::Command::Options::BaseObject.new @options.parse(["Foo", "Foo::Bar", "--no-color"]) assert_equal ["Foo", "Foo::Bar"], @options.object_names end end
Version data entries
6 entries across 6 versions & 1 rubygems