Sha256: f2d8b11c2a3f436c440be7bdaebe3e2e6af99b67d2061b35ee14926eb56584d7
Contents?: true
Size: 411 Bytes
Versions: 11
Compression:
Stored size: 411 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Axiom::Types::ValueComparable, '#range' do subject { object.range } let(:object) do Class.new(Axiom::Types::Type) do extend Axiom::Types::ValueComparable minimum 1 maximum 2 end end before do object.finalize end it_should_behave_like 'an idempotent method' it { should be_frozen } it { should eql(1..2) } end
Version data entries
11 entries across 9 versions & 4 rubygems