Sha256: e7837367984cffaefe4efa810b495c6c3f28c5a2e6830c295676fc23a9e238e4
Contents?: true
Size: 249 Bytes
Versions: 2
Compression:
Stored size: 249 Bytes
Contents
require 'factory_girl' require 'moblues/data_model/attribute' FactoryGirl.define do factory :attribute, class: Moblues::DataModel::Attribute do name 'attribute' type :string initialize_with { new(name: name, type: type) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
moblues-0.1.0 | spec/resources/factories/data_model/attribute_factory.rb |
moblues-0.0.1 | spec/resources/factories/data_model/attribute_factory.rb |