| 
									
										
										
										
											2015-11-03 11:46:54 +03:00
										 |  |  | require 'db/mongo/models/report' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | FactoryGirl.define do | 
					
						
							|  |  |  |   factory :report, class: Devops::Model::Report do | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     id 'id' | 
					
						
							|  |  |  |     file 'path' | 
					
						
							|  |  |  |     created_by 'root' | 
					
						
							|  |  |  |     project 'project' | 
					
						
							|  |  |  |     deploy_env 'env' | 
					
						
							|  |  |  |     type 1
 | 
					
						
							|  |  |  |     created_at Time.now | 
					
						
							|  |  |  |     updated_at Time.now | 
					
						
							|  |  |  |     status 'completed' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-11-20 18:31:54 +03:00
										 |  |  |     initialize_with { new(attributes.stringify_keys) } | 
					
						
							| 
									
										
										
										
											2015-11-03 11:46:54 +03:00
										 |  |  |   end | 
					
						
							|  |  |  | end |