Sha256: 60db951bd766524e6c909825e28309a78fb52eff5c58a3acca9bd73170aca9b9

Contents?: true

Size: 263 Bytes

Versions: 8

Compression:

Stored size: 263 Bytes

Contents

require_relative 'test-util'

describe 'Common' do
  it 'should ignore exception' do
    should.not.raise(Exception) do
      ignore_exception { raise Exception }
    end
  end

  it 'should get hostname' do
    get_hostname.should == `hostname`.chomp
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pione-0.2.2 test/spec_common.rb
pione-0.2.1 test/spec_common.rb
pione-0.2.0 test/spec_common.rb
pione-0.1.4 test/spec_common.rb
pione-0.1.3 test/spec_common.rb
pione-0.1.2 test/spec_common.rb
pione-0.1.1 test/spec_common.rb
pione-0.1.0 test/spec_common.rb