FactoryGirl.define do factory :win32_data, class:Hash do proc_attrs {{ :availablevirtualsize => "3817041920", :caption => "rubymine.exe", :childs => [], :commandline => "\"C:\\Program Files (x86)\\JetBrains\\RubyMine 8.0.3\\bin\\rubymine.exe\" ", :cpupercent => "19.47", :creationclassname => "Win32_Process", :creationdate => "20160307091252.612549+060", :cscreationclassname => "Win32_ComputerSystem", :csname => "TEST", :description => "rubymine.exe", :domain => "CORP", :executablepath => "C:\\Program Files (x86)\\JetBrains\\RubyMine 8.0.3\\bin\\rubymine.exe", :handle => "9336", :handlecount => "799", :kernelmodetime => "3058906250", :maximumworkingsetsize => "1380", :memorypercent => "5.09", :minimumworkingsetsize => "200", :name => "rubymine.exe", :oscreationclassname => "Win32_OperatingSystem", :osname => "Microsoft Windows|C:\\WINDOWS|\\Device\\Harddisk0\\Partition2", :otheroperationcount => "3662530", :othertransfercount => "65362876", :pagefaults => "404989", :pagefileusage => "480264", :parentprocessid => "9336", :peakpagefileusage => "481136", :peakvirtualsize => "997543936", :peakworkingsetsize => "428776", :priority => "8", :privatepagecount => "491790336", :processid => "9336", :quotanonpagedpoolusage => "57", :quotapagedpoolusage => "248", :quotapeaknonpagedpoolusage => "92", :quotapeakpagedpoolusage => "273", :readoperationcount => "304603", :readtransfercount => "306717431", :sessionid => "9", :threadcount => "56", :user => "asmith", :usermodetime => "94399218750", :sid => "S-1-2-10-0000000000-1111111111-2222222222-1000", :virtualsize => "982863872", :windowsversion => "10.0.10586", :workingsetsize => "437301248", :writeoperationcount => "80408", :writetransfercount => "450486611"}} users {{ :accounttype => 512, :caption => "CORP\\asmith", :description => "Account for administering the computer/domain", :disabled => "false", :domain => "CORP", 'domain' => "CORP", :fullname => "", :installdate => nil, :localaccount => "true", :lockout => "false", :name => "asmith", 'name' => "asmith", :passwordchangeable => "true", :passwordexpires => "false", :passwordrequired => "true", :sid => "S-1-2-10-0000000000-1111111111-2222222222-1000", 'sid' => "S-1-2-10-0000000000-1111111111-2222222222-1000", :sidtype => 1, :status => "OK" }} initialize_with { attributes } end end