Sha256: 590aaf37c9abe0b940035a09b4539eb43fef39c765889a8883f1213c67d7335c

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

RSpec.shared_examples Sys::Admin do
  example 'version is set to expected value' do
    expect(described_class::VERSION).to eq('1.8.2')
  end

  example 'version constant is frozen' do
    expect(described_class::VERSION).to be_frozen
  end

  example 'constructor is private' do
    expect{ described_class.new }.to raise_error(NoMethodError)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sys-admin-1.8.2-universal-mingw32 spec/sys_admin_shared.rb