test/unit/api/suggest_test.rb in inch-0.5.0.rc5 vs test/unit/api/suggest_test.rb in inch-0.5.0.rc6

- old
+ new

@@ -1,19 +1,19 @@ -require File.expand_path(File.dirname(__FILE__) + "/../../test_helper") +require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') describe ::Inch::API::Suggest 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::Suggest.new @codebase, @options refute @context.objects.empty? refute @context.grade_lists.empty? end - it "should work with option: object_count" do + it 'should work with option: object_count' do @options = { object_count: 10 } @context = ::Inch::API::Suggest.new @codebase, @options @options2 = { object_count: 20 } @context2 = ::Inch::API::Suggest.new @codebase, @options2