Sha256: 5c1cfca8a9db7763e769dcfd28b93968914004548ef5e9e4f35c8ee3f0ebfff0
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Mina::Runner::Pretty do subject(:runner) { described_class.new('true') } describe '#run', :suppressed_output do it 'executes the script' do expect { runner.run }.to output('').to_stdout end it 'returns true', :suppressed_output do expect(runner.run).to eq(true) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mina-1.2.5 | spec/lib/mina/runner/pretty_spec.rb |