Skip to content

Instantly share code, notes, and snippets.

@deadprogram
Created November 24, 2008 02:49
Show Gist options
  • Save deadprogram/28360 to your computer and use it in GitHub Desktop.
Save deadprogram/28360 to your computer and use it in GitHub Desktop.
1)
'Time parsing should be able to parse months' FAILED
expected: 2592000,
got: 2678400 (using ==)
./spec/poolparty/core/time_spec.rb:21:
2)
'Script wrapped with a script save! should save the expansions' FAILED
expected: /expand_when 'cpu>90', 'memory>80'/,
got: "pool :appdotcomcoo do\n cloud :app do\n keypair 'snoodle'\nminimum_instances '2'\nmaximum_instances '5'\nami 'ami-123456'\nsecurity_group ''\nexpand_when 'cpu>1.9'\ncontract_when 'cpu<0.65'\nset_master_ip_to ''\n end\n\nend" (using =~)
./spec/poolparty/pool/script_spec.rb:67:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment