Just return a symbol

This commit is contained in:
Seth Vargo 2014-12-02 13:45:45 -05:00
parent 78a4fdd6cd
commit 8df0b1848c
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ describe VagrantPlugins::CommandPush::Command do
describe "#execute" do
before do
allow(subject).to receive(:validate_pushes!)
.and_return([:noop])
.and_return(:noop)
allow(env).to receive(:pushes)
allow(env).to receive(:push)
end