Sha256: 70e78f8c22e3318287fd448276506ffa5079dc5bb24bc4578a21641df0cb849b
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
FactoryBot.define do factory :group, class: Keepassx::Group do id { 1 } name { 'test_group' } icon { 20 } initialize_with { new(attributes) } end factory :entry, class: Keepassx::Entry do name { 'test_entry' } group { build(:group) } username { 'test' } password { 'test' } icon { 20 } url { 'https://example.com' } notes { 'Test comment' } initialize_with { new(attributes) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
keepassx-1.0.0 | spec/factories.rb |