Sha256: fa34872d90bb67777de6ff7ed5ef1e145de74b8996264da9172e151a506dbb88
Contents?: true
Size: 498 Bytes
Versions: 41
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
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
inch-0.1.4 | test/inch/cli/command/options/base_object_test.rb |