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

- old
+ new

@@ -1,21 +1,21 @@ -require File.expand_path(File.dirname(__FILE__) + "/../../test_helper") +require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') describe ::Inch::API::Get do before do - @codebase = test_codebase(:simple) + @codebase = test_codebase(:ruby, :simple) end - it "should work" do - @object_names = ["Foo", "Foo::Bar"] + it 'should work' do + @object_names = ['Foo', 'Foo::Bar'] @context = ::Inch::API::Get.new @codebase, @object_names assert_equal 2, @context.objects.size refute @context.object.nil? refute @context.grade_lists.empty? end - it "should work with wildcard" do - @object_names = ["Foo", "Foo::Bar#"] + it 'should work with wildcard' do + @object_names = ['Foo', 'Foo::Bar#'] @context = ::Inch::API::Get.new @codebase, @object_names assert @context.objects.size > 2 end end