Sha256: 54a54ba1de1af091da0af73c17ea5d3174093988bcfa61c85aaad4b2b1b945c1
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 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.1.0 | spec/support/factories.rb |