spec/reek/options_spec.rb in kevinrutherford-reek-1.1.3 vs spec/reek/options_spec.rb in kevinrutherford-reek-1.1.3.1
- old
+ new
@@ -5,9 +5,9 @@
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.parse_args(['nosuchfile.rb'])
Options[:format].should == default_order
end
end