Sha256: 2ec1aa8467301587c52da5becc1258f5edff5e8ae8ea4a8ef77dfe163283c8bd
Contents?: true
Size: 678 Bytes
Versions: 4
Compression:
Stored size: 678 Bytes
Contents
require 'spec_helper_system' describe "rcp:" do it 'check rcp works' do rcp( :sp => fixture_root + 'example_dir', :dp => '/tmp/example_destination' ) shell 'cat /tmp/example_destination/example_file' do |r| r.exit_code.should be_zero r.stdout.should =~ /Test content 1234/ end end context 'legacy tests' do it 'check system_rcp works' do system_rcp( :sp => fixture_root + 'example_dir', :dp => '/tmp/example_destination' ) shell 'cat /tmp/example_destination/example_file' do |r| r.exit_code.should be_zero r.stdout.should =~ /Test content 1234/ end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rspec-system-1.7.1 | spec/system/rcp_spec.rb |
rspec-system-1.7.0 | spec/system/rcp_spec.rb |
rspec-system-1.6.0 | spec/system/rcp_spec.rb |
rspec-system-1.5.0 | spec/system/rcp_spec.rb |