Sha256: 7671324bc30e0be78e92210921edfc9753f42f4bb91243ca40b451228c0cf12e

Contents?: true

Size: 579 Bytes

Versions: 18

Compression:

Stored size: 579 Bytes

Contents

require 'spec_helper'

RSpec.describe 'git', type: :rake do
  describe 'git:clone' do
    it 'git clone' do
      expect { invoke_all }.to output(output_file('git_clone')).to_stdout
    end

    it 'git clone with commit' do
      Mina::Configuration.instance.set(:commit, '123456')
      expect { invoke_all }.to output(output_file('git_clone_commit')).to_stdout
      Mina::Configuration.instance.remove(:commit)
    end
  end

  describe 'git:revision' do
    it 'git revision' do
      expect { invoke_all }.to output(output_file('git_revision')).to_stdout
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
mina-1.2.4 spec/tasks/git_spec.rb
mina-1.2.3 spec/tasks/git_spec.rb
mina-1.2.2 spec/tasks/git_spec.rb
mina-1.2.1 spec/tasks/git_spec.rb
mina-1.2.0 spec/tasks/git_spec.rb
mina-1.1.1 spec/tasks/git_spec.rb
mina-1.1.0 spec/tasks/git_spec.rb
mina-1.0.7 spec/tasks/git_spec.rb
mina-1.0.6 spec/tasks/git_spec.rb
mina-1.0.5 spec/tasks/git_spec.rb
mina-1.0.4 spec/tasks/git_spec.rb
mina-1.0.3 spec/tasks/git_spec.rb
mina-1.0.2 spec/tasks/git_spec.rb
mina-1.0.0 spec/tasks/git_spec.rb
mina-1.0.0.rc2 spec/tasks/git_spec.rb
mina-1.0.0.beta5 spec/tasks/git_spec.rb
mina-1.0.0.beta4 spec/tasks/git_spec.rb
mina-1.0.0.beta3 spec/tasks/git_spec.rb