Sha256: d19184b5940175262d902f348395dc95661d3a5865bfa9c33477b68cec889dc6
Contents?: true
Size: 300 Bytes
Versions: 3
Compression:
Stored size: 300 Bytes
Contents
require 'katapult/elements/association' describe Katapult::Association do subject { described_class.new('association') } it 'stores its :belongs_to as String' do subject = described_class.new('model', belongs_to: :other_model) expect(subject.belongs_to).to eq 'other_model' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
katapult-0.5.0 | spec/association_spec.rb |
katapult-0.4.1 | spec/association_spec.rb |
katapult-0.4.0 | spec/association_spec.rb |