test/commands/stats_spec.rb in friends-0.30 vs test/commands/stats_spec.rb in friends-0.31
- old
+ new
@@ -4,9 +4,11 @@
clean_describe "stats" do
subject { run_cmd("stats") }
describe "when file does not exist" do
+ let(:content) { nil }
+
it "returns the stats" do
stdout_only <<-FILE
Total activities: 0
Total friends: 0
Total time elapsed: 0 days