Sha256: 00d1e2d7c9e75f29a0bcf45439b75db8130c09caf267eb486f02c3be46f1ce72

Contents?: true

Size: 1.21 KB

Versions: 18

Compression:

Stored size: 1.21 KB

Contents

require 'spec_helper'

describe Mina::Application do
  # let(:app) { Rake.application }
  #
  # %w(quiet silent dry-run).each do |switch|
  #   it "doesn't include --#{switch} in help" do
  #     binding.pry
  #     expect(out).not_to match(/--#{switch}/)
  #   end
  # end
  #
  # it 'runs adds two default tasks to the task list' do
  #   expect(subject.top_level_tasks).to include(:debug_configuration_variables)
  #   expect(subject.top_level_tasks).to include(:run_commands)
  # end
  #
  # it 'overrides the rake method, but still prints the rake version' do
  #   out = capture_io do
  #     flags '--version', '-V'
  #   end
  #   expect(out).to match(/\bMina, version\b/)
  #   expect(out).to match(/\bv#{Mina::VERSION}\b/)
  # end
  #
  # it 'enables simulation mode, and sets the backend Mina::Runner::Printer' do
  #   capture_io do
  #     flags '--simulate', '-s'
  #   end
  #   expect(Mina::Configuration.instance.fetch(:simulate)).to be true
  # end
  #
  # it 'enables printing all config variables on command line parameter' do
  #   capture_io do
  #     flags '--debug-configuration-variables', '-d'
  #   end
  #   expect(Mina::Configuration.instance.fetch(:debug_configuration_variables)).to be true
  # end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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