spec/base/configuration_spec.rb in metric_fu-1.3.0 vs spec/base/configuration_spec.rb in metric_fu-1.4.0
- old
+ new
@@ -85,11 +85,11 @@
template_class.should == AwesomeTemplate
end
it 'should set @flay to {:dirs_to_flay => @code_dirs}' do
@config.instance_variable_get(:@flay).
- should == {:dirs_to_flay => ['lib'], :minimum_score => 100}
+ should == {:dirs_to_flay => ['lib'], :filetypes=>["rb"], :minimum_score => 100}
end
it 'should set @flog to {:dirs_to_flog => @code_dirs}' do
@config.instance_variable_get(:@flog).
should == {:dirs_to_flog => ['lib']}
@@ -132,10 +132,11 @@
"--no-html",
"--text-coverage",
"--no-color",
"--profile",
"--rails",
- "--exclude /gems/,/Library/,/usr/,spec"]}
+ "--exclude /gems/,/Library/,/usr/,spec"],
+ :external => nil}
end
it 'should set @saikuro to { :output_directory => @scratch_directory + "/saikuro",
:input_directory => @code_dirs,
:cyclo => "",