spec/timber/cli/config_file_spec.rb in timber-2.1.4 vs spec/timber/cli/config_file_spec.rb in timber-2.1.5

- old
+ new

@@ -14,10 +14,11 @@ config_file.create! end end describe ".logrageify!" do - it "should set the option in the config file" do + it "should not set the option in the config file" do + allow(config_file).to receive(:log_rage?).and_return(true) config_file.logrageify! new_contents = initial_contents.gsub(contents_hook, "config.logrageify!\n\n#{contents_hook}") expect(config_file.send(:content)).to eq(new_contents) end end \ No newline at end of file