Sha256: 65fc3b1f30fed6866c5b563e152efa33644ebc59f5ba7b12d67861d8a00e169a

Contents?: true

Size: 359 Bytes

Versions: 6

Compression:

Stored size: 359 Bytes

Contents

require 'spec_helper_system'

describe "system_rcp:" do
  it 'check system_rcp works' do
    system_rcp(
      :sp => fixture_root + 'example_dir',
      :dp => '/tmp/example_destination'
    )

    system_run('cat /tmp/example_destination/example_file') do |r|
      r[:exit_code].should == 0
      r[:stdout].should =~ /Test content 1234/
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-system-1.1.0 spec/system/system_rcp_spec.rb
rspec-system-1.0.0 spec/system/system_rcp_spec.rb
rspec-system-0.3.6 spec/system/system_rcp_spec.rb
rspec-system-0.3.5 spec/system/system_rcp_spec.rb
rspec-system-0.3.4 spec/system/system_rcp_spec.rb
rspec-system-0.3.3 spec/system/system_rcp_spec.rb