test/integration/cli/command/stats_test.rb in inch-0.5.0.rc3 vs test/integration/cli/command/stats_test.rb in inch-0.5.0.rc4
- old
+ new
@@ -1,15 +1,15 @@
-require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')
+require File.expand_path(File.dirname(__FILE__) + "/../../../test_helper")
describe ::Inch::CLI::Command::Stats do
before do
- Dir.chdir fixture_path(:simple)
+ Dir.chdir fixture_path(:ruby, :simple)
@command = ::Inch::CLI::Command::Stats
end
it "should run without args" do
out, err = capture_io do
- @command.run()
+ @command.run
end
refute out.empty?, "there should be some output"
assert err.empty?, "there should be no errors"
end