Sha256: 6e74ff6bf7ed65460308e823784f49af5772a8e9a151af86e10d1be6bd4f21b5

Contents?: true

Size: 317 Bytes

Versions: 11

Compression:

Stored size: 317 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper.rb'
 
require 'reek/options'

include Reek

describe Options, ' when given no arguments' do
  it "should retain the default sort order" do
    default_order = Options[:format]
    Options.parse ['nosuchfile.rb']
    Options[:format].should == default_order
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
kevinrutherford-reek-0.3.1.4 spec/reek/options_spec.rb
kevinrutherford-reek-0.3.1.5 spec/reek/options_spec.rb
kevinrutherford-reek-0.3.1.6 spec/reek/options_spec.rb
kevinrutherford-reek-1.0.0 spec/reek/options_spec.rb
kevinrutherford-reek-1.0.1 spec/reek/options_spec.rb
kevinrutherford-reek-1.1.1 spec/reek/options_spec.rb
kevinrutherford-reek-1.1.2.1 spec/reek/options_spec.rb
kevinrutherford-reek-1.1.2 spec/reek/options_spec.rb
kevinrutherford-reek-1.1.3 spec/reek/options_spec.rb
reek-1.1.3 spec/reek/options_spec.rb
reek-1.0.0 spec/reek/options_spec.rb