Skip to content

Instantly share code, notes, and snippets.

@marcusleemitchell
Created May 14, 2012 21:07
Show Gist options
  • Save marcusleemitchell/2697032 to your computer and use it in GitHub Desktop.
Save marcusleemitchell/2697032 to your computer and use it in GitHub Desktop.
1)
'User#send_low_availability_reminder!#update_reply_rate should not consider replies later than 36 hours after the request' FAILED
expected: 33,
got: 0 (using ==)
./spec/models/user_spec.rb:529:
2)
'Abingo#test should score one participation per identity' FAILED
expected: 2,
got: 5 (using ==)
./spec/models/abingo_spec.rb:52:
3)
'Abingo#test should allow the identity to be overwritten' FAILED
expected: 1,
got: 21 (using ==)
./spec/models/abingo_spec.rb:69:
4)
'Abingo::Experiment.cached_fixed_alternative_content should return the content of the cache, if present and not the not-fixed-indicator' FAILED
expected: "fixed_test_alternative",
got: nil (using ==)
./spec/models/abingo/experiment_spec.rb:31:
5)
'Abingo::Experiment#update_fixed_alternative_cache should cache the fixed alternatives content and return it' FAILED
expected: "First alternative",
got: nil (using ==)
./spec/models/abingo/experiment_spec.rb:14:
6)
'Abingo::Experiment#update_fixed_alternative_cache should indicate that the alternative is not fixed if the fixed alternative is nil' FAILED
expected: "ALTERNATIVE_NOT_FIXED_FOR_THIS_TEST",
got: nil (using ==)
./spec/models/abingo/experiment_spec.rb:20:
7)
'PaymentsController confirm send emails on errors should notify if booking is invalid' FAILED
expected: /Validation failed: Property id can\'t be blank/,
got: "Payment processing failed:\n\nMerchantReference: booking_22\n\nReceived params for this payment:\n\n<code>{\"merchantReference\"=>\"booking_22\", \"action\"=>\"confirm\", \"reason\"=>\"all good\", \"success\"=>\"true\", \"locale\"=>\"en\", \"controller\"=>\"payments\", \"eventCode\"=>\"AUTHORISATION\"}</code>\n\nError message:\n\nMysql2::Error: Unknown column 'payments.owner_id' in 'where clause': SELECT * FROM `payments` WHERE (`payments`.owner_id = 489 AND `payments`.owner_type = 'Booking') LIMIT 1" (using =~)
./spec/controllers/payments_controller_spec.rb:109:
8)
'PaymentsController confirm send emails on errors should notify if other error occurs ' FAILED
expected: /Oopsie/,
got: "Payment processing failed:\n\nMerchantReference: booking_22\n\nReceived params for this payment:\n\n<code>{\"merchantReference\"=>\"booking_22\", \"action\"=>\"confirm\", \"reason\"=>\"all good\", \"success\"=>\"true\", \"locale\"=>\"en\", \"controller\"=>\"payments\", \"eventCode\"=>\"AUTHORISATION\"}</code>\n\nError message:\n\nMysql2::Error: Unknown column 'payments.owner_id' in 'where clause': SELECT * FROM `payments` WHERE (`payments`.owner_id = 490 AND `payments`.owner_type = 'Booking') LIMIT 1" (using =~)
./spec/controllers/payments_controller_spec.rb:122:
Finished in 817.855512 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment