Sha256: 39254742a3ae8950103763641bee4969522ee0e0a396b07ff8a11fa445f84c67
Contents?: true
Size: 497 Bytes
Versions: 32
Compression:
Stored size: 497 Bytes
Contents
require 'spec_helper' RSpec.describe 'Output Matchers' do include_context 'uses aruba API' def expand_path(*args) @aruba.expand_path(*args) end describe '#to_have_output_size' do let(:obj) { 'string' } context 'when has size' do context 'when is string' do it { expect(obj).to have_output_size 6 } end end context 'when does not have size' do let(:obj) { 'string' } it { expect(obj).not_to have_output_size(-1) } end end end
Version data entries
32 entries across 32 versions & 3 rubygems