test/integration/cli/command/stats_test.rb in inch-0.4.10 vs test/integration/cli/command/stats_test.rb in inch-0.5.0.rc1
- 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)
@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