Sha256: e5958808183796d7458acf15a58313f117ed2a317406814086089b97160d0b13
Contents?: true
Size: 375 Bytes
Versions: 8
Compression:
Stored size: 375 Bytes
Contents
require 'spec_helper' describe 'Mina' do it '#to should work' do rake { task :deploy do queue 'git clone' to :restart do queue 'touch tmp/restart.txt' end end } rake { invoke :deploy } expect(rake.commands).to eq(['git clone']) expect(rake.commands(:restart)).to eq(['touch tmp/restart.txt']) end end
Version data entries
8 entries across 8 versions & 2 rubygems