Sha256: 508c4880ea90c6074ed022af255b0ba342bcb29b454b7e771d455ed20b7f8942
Contents?: true
Size: 819 Bytes
Versions: 11
Compression:
Stored size: 819 Bytes
Contents
require 'spec_helper' require 'command_helper' describe "Invoking the 'mina' command outside a project" do before :each do Dir.chdir root end describe "without arguments" do before :each do mina end it 'should print standard help tasks' do stdout.should include('mina help') stdout.should include('mina init') stdout.should include('mina tasks') end it "should not print project-specific tasks" do stdout.should_not include('mina deploy') stdout.should_not include('mina restart') stdout.should_not include('mina setup') end %w[-h --help].each do |arg| it "should have the same output as 'mina #{arg}'" do @previous_output = stdout mina arg stdout.should == @previous_output end end end end
Version data entries
11 entries across 11 versions & 2 rubygems