spec/command/edit_spec.rb in retter-0.1.0 vs spec/command/edit_spec.rb in retter-0.1.1
- old
+ new
@@ -5,10 +5,10 @@
describe 'Retter::Command#edit', clean: :all do
let(:command) { Retter::Command.new }
let(:wip_file) { retter_config.wip_file }
before do
- command.stub!(:config) { retter_config }
+ Retter.stub!(:config) { retter_config }
end
context 'no options' do
before do
command.should_receive(:invoke_after).with(:edit)