Sha256: 29186de9ec7f9c3019930f8c97187b5d3e7ed5816003b544c6e29715e802eca9
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Balboa::CLI::Command::ResetCommand do it 'deletes the .balboa.yml file' do expect(File).to receive(:delete).with(Balboa::CONFIG_FILE) described_class.new.execute end it 'prints out a success message' do success_message = "\nBalboa restored to initial settings!" allow(File).to receive(:delete).with(Balboa::CONFIG_FILE) expect(described_class.new.execute).to eq(success_message) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balboa-0.1.7 | spec/balboa/cli/command/reset_command_spec.rb |