test/unit/codebase/proxy_test.rb in inch-0.5.0.rc5 vs test/unit/codebase/proxy_test.rb in inch-0.5.0.rc6

- old
+ new

@@ -1,18 +1,18 @@ -require File.expand_path(File.dirname(__FILE__) + "/../../test_helper") +require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') describe ::Inch::Codebase::Proxy do - it "should parse all objects" do + it 'should parse all objects' do dir = fixture_path(:ruby, :simple) - config = Inch::Config::Codebase.new(:ruby, ["lib/**/*.rb"]) + config = Inch::Config::Codebase.new(:ruby, ['lib/**/*.rb']) config.object_provider :YARD @codebase = Inch::Codebase::Proxy.parse dir, config refute_nil @codebase.objects end - it "should parse given paths" do + it 'should parse given paths' do dir = fixture_path(:ruby, :simple) - config = Inch::Config::Codebase.new(:ruby, ["app/**/*.rb"]) + config = Inch::Config::Codebase.new(:ruby, ['app/**/*.rb']) config.object_provider :YARD @codebase = Inch::Codebase::Proxy.parse dir, config assert @codebase.objects.empty? end end