Sha256: 16b179e872c95170b155188dde8d8bbfd864de5989c54c6df25b3b34426bec26
Contents?: true
Size: 1 KB
Versions: 17
Compression:
Stored size: 1 KB
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') module Gritano describe Console do it "should setup a local console" do Console::Base.should_receive(:bin_name=).with("gritano ") Console::Remote.should_receive(:bin_name=).with("gritano ") Console::Executor.should_receive(:bin_name=).with("gritano ") Console::Gritano.should_receive(:bin_name=).with("gritano ") Console::Installer.should_receive(:bin_name=).with("gritano ") Console.remote_console(false) end it "should setup a remote console" do Console::Base.should_receive(:bin_name=).with("ssh git@host.com admin:") Console::Remote.should_receive(:bin_name=).with("ssh git@host.com ") Console::Executor.should_receive(:bin_name=).with("ssh git@host.com admin:") Console::Gritano.should_receive(:bin_name=).with("ssh git@host.com admin:") Console::Installer.should_receive(:bin_name=).with("ssh git@host.com admin:") Console.remote_console(true) end end end
Version data entries
17 entries across 17 versions & 1 rubygems