test/unit/codebase/objects_test.rb in inch-0.4.6 vs test/unit/codebase/objects_test.rb in inch-0.4.7
- old
+ new
@@ -1,6 +1,6 @@
-require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')
+require File.expand_path(File.dirname(__FILE__) + "/../../test_helper")
describe ::Inch::Codebase::Objects do
before do
@codebase = test_codebase(:simple)
@objects = @codebase.objects
@@ -16,10 +16,10 @@
refute_nil @objects.find("Foo::Bar#method_without_doc")
end
it "should support iteration" do
sum = 0
- @objects.each do |o|
+ @objects.each do
sum += 1
end
assert_equal @objects.size, sum
end
end