Sha256: 5267a602e7cc5d71f3a2ccecb6282fe59ede2bfe2f76ceb0b6158425941d4d5d
Contents?: true
Size: 536 Bytes
Versions: 11
Compression:
Stored size: 536 Bytes
Contents
FactoryGirl.define do factory :mno_enterprise_impac_kpi, :class => 'Impac::Kpi' do factory :impac_kpi, class: MnoEnterprise::Impac::Kpi do sequence(:id) { |n| n } dashboard { build(:impac_dashboard).attributes } endpoint "an/endpoint" element_watched "a_watchable" source "impac" targets {} settings {} extra_params {} # Properly build the resource with Her initialize_with { new(attributes).tap { |e| e.clear_attribute_changes! } } end end end
Version data entries
11 entries across 11 versions & 1 rubygems