Sha256: ecb5901c98d61e6a66b3f1d486336033248e684ce19ccbfce0ec36bd205be00b

Contents?: true

Size: 298 Bytes

Versions: 7

Compression:

Stored size: 298 Bytes

Contents

require 'spec_helper'

RSpec.describe PolishGeeks::DevTools::Shell do
  subject { described_class.new }

  describe '#execute' do
    context 'when we run a command' do
      it 'should execute the command' do
        expect(subject.execute('ls')).to include('Gemfile')
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
polishgeeks-dev-tools-1.2.1 spec/lib/polishgeeks/dev-tools/shell_spec.rb
polishgeeks-dev-tools-1.2.0 spec/lib/polishgeeks/dev-tools/shell_spec.rb
polishgeeks-dev-tools-1.1.3 spec/lib/polishgeeks/dev-tools/shell_spec.rb
polishgeeks-dev-tools-1.1.2 spec/lib/polishgeeks/dev-tools/shell_spec.rb
polishgeeks-dev-tools-1.1.1 spec/lib/polishgeeks/dev-tools/shell_spec.rb
polishgeeks-dev-tools-1.1.0 spec/lib/polishgeeks/dev-tools/shell_spec.rb
polishgeeks-dev-tools-1.0.0 spec/lib/polishgeeks/dev-tools/shell_spec.rb