Sha256: f096c4b8d3c221c808cd8d22dec6ec107fae5005fda3bdad42f3d0ed078f07e0
Contents?: true
Size: 341 Bytes
Versions: 6
Compression:
Stored size: 341 Bytes
Contents
require 'spec_helper' describe ScopedFrom do describe '.version' do subject { ScopedFrom.version } it { should be_a(String) } it { should match(/^\d+\.\d+(\.\d+)?/) } it 'is freezed' do expect { ScopedFrom.version.gsub!('.', '#') }.to raise_error(/can't modify frozen string/i) end end end
Version data entries
6 entries across 6 versions & 1 rubygems