Sha256: c864f4294f61241095b79d771788f92b7b9d7bbc43a75914825d9e7941631142
Contents?: true
Size: 498 Bytes
Versions: 34
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
34 entries across 34 versions & 1 rubygems