Sha256: 09a3721086bc77a331b84a0ae0423d011f3d54468fe8110633cf6d8261e1a3d7
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
# frozen_string_literal: true require 'sys-filesystem' RSpec.shared_examples Sys::Filesystem do example 'version number is set to the expected value' do expect(Sys::Filesystem::VERSION).to eq('1.5.1') expect(Sys::Filesystem::VERSION).to be_frozen end example 'you cannot instantiate an instance' do expect{ described_class.new }.to raise_error(NoMethodError) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sys-filesystem-1.5.1 | spec/sys_filesystem_shared.rb |