test/unit/api/stats_test.rb in inch-0.5.0.rc5 vs test/unit/api/stats_test.rb in inch-0.5.0.rc6
- old
+ new
@@ -1,12 +1,12 @@
-require File.expand_path(File.dirname(__FILE__) + "/../../test_helper")
+require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')
describe ::Inch::API::Stats do
before do
- @codebase = test_codebase(:simple)
+ @codebase = test_codebase(:ruby, :simple)
end
- it "should work" do
+ it 'should work' do
@options = {}
@context = ::Inch::API::Stats.new @codebase, @options
refute @context.objects.empty?
refute @context.grade_lists.empty?
end