spec/command/callback_spec.rb in retter-0.1.0 vs spec/command/callback_spec.rb in retter-0.1.1
- old
+ new
@@ -4,10 +4,10 @@
describe 'Retter::Command#callback', clean: :all do
let(:command) { Retter::Command.new }
before do
- command.stub!(:config) { retter_config }
+ Retter.stub!(:config) { retter_config }
retter_config.after(:edit) { commit }
command.should_receive(:commit).and_return(true)
command.stub!(:options) { {after: :edit} }