spec/command-line.rb in mattock-0.0.1 vs spec/command-line.rb in mattock-0.1.0
- old
+ new
@@ -1,8 +1,12 @@
require 'mattock/command-line'
require 'mattock/testing/rake-example-group'
require 'mattock/testing/mock-command-line'
+require 'mattock/testing/record-commands'
+
+Mattock::CommandLine.command_recording_path = "/dev/null"
+
describe Mattock::CommandLine do
let :commandline do
Mattock::CommandLine.new('echo', "-n") do |cmd|
cmd.options << "Some text"
end