Sha256: 4c47f8a30e01d986511edd49e9527895181ce46d11d5f1c5b84fab61fdcec771
Contents?: true
Size: 723 Bytes
Versions: 27
Compression:
Stored size: 723 Bytes
Contents
require 'spec_helper' describe Relish::Command do it "recognizes the 'push' command" do push = double push.should_receive(:default) Relish::Command::Push.should_receive(:new).with([]).and_return(push) Relish::Command.run('push', []) end it "recognizes the 'config' command" do config = double config.should_receive(:default) Relish::Command::Config.should_receive(:new).with([]).and_return(config) Relish::Command.run('config', []) end it "recognizes the 'projects' command" do projects = double projects.should_receive(:default) Relish::Command::Projects.should_receive(:new).with([]).and_return(projects) Relish::Command.run('projects', []) end end
Version data entries
27 entries across 27 versions & 1 rubygems