Sha256: 2d3392b183110fdfcfbc4d458c53ecff1f2af0b1ef77f9380ff150cbdd4b68fc
Contents?: true
Size: 363 Bytes
Versions: 2
Compression:
Stored size: 363 Bytes
Contents
shared_examples_for 'Attribute.accepted_options' do specify { described_class.should respond_to(:accepted_options) } it "returns an array of accepted options" do described_class.accepted_options.should be_instance_of(Array) end it "includes base options" do described_class.accepted_options.should include(*Virtus::Attribute::OPTIONS) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
virtus-0.0.5 | spec/unit/shared/attribute/accepted_options.rb |
virtus-0.0.4 | spec/unit/shared/attribute/accepted_options.rb |