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