Sha256: ff144ac8efaa81180870fc653c0ddc481f3cb0a268b4f6fe32531ffcfdd8f5c9

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

module Downer
  describe Options do
    it "when passed '-i' the option image_only will be set to true" do
      op_struct = Options.new(['-i'])
      op_struct[:images_only].should == true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
downer-0.3.2 spec/downer/options_spec.rb
downer-0.3.1 spec/downer/options_spec.rb
downer-0.3.0 spec/downer/options_spec.rb