test/commands/clean_spec.rb in friends-0.30 vs test/commands/clean_spec.rb in friends-0.31

- old
+ new

@@ -2,15 +2,18 @@ require "./test/helper" clean_describe "clean" do subject { run_cmd("clean") } + let(:content) { nil } it "outputs a message" do stdout_only "File cleaned: \"#{filename}\"" end describe "when file does not exist" do + let(:content) { nil } + it "does not create the file" do File.exist?(filename).must_equal false end end