Sha256: fe3afd970c0db0692029c8ad6c45b808cf012866fe2ce1e994eaf0318dc2ba0b

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

require 'helper'
# a few very minimal tests...
class Blueprintr::CLI::OptTest < Test::Unit::TestCase
  def test_default_output_path_is_working_dir
    args = Blueprintr::CLI.check_args([])
    assert args.join().include?("--output_path=#{Dir.pwd}")
  end
  
  def test_custom_output_path_in_opts
    args = Blueprintr::CLI.check_args(['-o css','--column_width=20'])
    assert args.join().include?("-o css")
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blueprintr-0.1.0 test/test_blueprintr.rb