Sha256: 286bc630f37038765a1cd736b4b1f47bb28eeb062e0994bb5d863b565494dd2a
Contents?: true
Size: 257 Bytes
Versions: 1
Compression:
Stored size: 257 Bytes
Contents
require 'spec_helper' describe HappyMapper::Attribute do describe "initialization" do it 'accepts :default option' do attr = described_class.new(:foo, String, :default => 'foobar') expect(attr.default).to eq('foobar') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nokogiri-happymapper-0.6.0 | spec/happymapper/attribute_spec.rb |