Sha256: f375b7454930afc3c37da826231f48758b42f9cf04158bca39682f14406e5955
Contents?: true
Size: 938 Bytes
Versions: 3
Compression:
Stored size: 938 Bytes
Contents
FactoryGirl.define do factory :custom_signature, class: 'ESP::CustomSignature' do skip_create sequence(:id) { |n| n } type "custom_signatures" created_at { Time.current } active true description "Test description" identifier "AWS::Test::001" name "Test" resolution "Test resolution" risk_level "Medium" signature "Some javascript" language "javascript" updated_at nil relationships do { organization: { data: { type: "organizations", id: "1003" }, links: { related: "http://test.host/api/v2/organizations/1003.json" } }, teams: { data: { type: "teams", id: "1003" }, links: { related: "http://test.host/api/v2/teams?filter%5Bcustom_signatures_id_eq%5D=#{id}" } } } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
esp_sdk-2.5.0 | test/factories/custom_signatures.rb |
esp_sdk-2.4.0 | test/factories/custom_signatures.rb |
esp_sdk-2.3.0 | test/factories/custom_signatures.rb |