Sha256: e06cf2089e0b743ac2a1ffb72be94ae34e2caae9075ddbf3e6522d904c2ccabc

Contents?: true

Size: 382 Bytes

Versions: 5

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper_system'

describe "base:" do
  it 'hostname variants should return the proper hostname' do
    shell 'hostname -f' do |r|
      r.stdout.should =~ /^main$/
      r.exit_code.should == 0
      r.stderr.should == ''
    end

    shell 'hostname' do |r|
      r.stdout.should =~ /^main$/
      r.exit_code.should == 0
      r.stderr.should == ''
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspec-system-2.8.0 spec/system/base_spec.rb
rspec-system-2.7.2 spec/system/base_spec.rb
rspec-system-2.7.1 spec/system/base_spec.rb
rspec-system-2.7.0 spec/system/base_spec.rb
rspec-system-2.6.0 spec/system/base_spec.rb