Created
May 17, 2013 11:36
-
-
Save matthewford/5598536 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code: | |
https://github.com/alphagov/whitehall/tree/rails-upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2) Error: | |
test_imported_case_study_is_valid_when_the_first_published_at_is_blank(CaseStudyTest): | |
NameError: undefined local variable or method `_callback_before_6371' for #<CaseStudy:0x0000000a9ba528> | |
/var/lib/gems/1.9.1/gems/activemodel-3.2.13/lib/active_model/attribute_methods.rb:407:in `method_missing' | |
/var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/attribute_methods.rb:149:in `method_missing' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:880:in `_run__4039461874240773818__validate__1864625436604325266__callbacks' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_validate_callbacks' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/var/lib/gems/1.9.1/gems/activemodel-3.2.13/lib/active_model/validations.rb:228:in `run_validations!' | |
/var/lib/gems/1.9.1/gems/activemodel-3.2.13/lib/active_model/validations/callbacks.rb:53:in `block in run_validations!' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:436:in `_run__4039461874240773818__validation__1864625436604325266__callbacks' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_validation_callbacks' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/var/lib/gems/1.9.1/gems/activemodel-3.2.13/lib/active_model/validations/callbacks.rb:53:in `run_validations!' | |
/var/lib/gems/1.9.1/gems/activemodel-3.2.13/lib/active_model/validations.rb:195:in `valid?' | |
/var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/validations.rb:69:in `valid?' | |
/var/govuk/whitehall/test/unit/case_study_test.rb:30:in `block in <class:CaseStudyTest>' | |
/var/lib/gems/1.9.1/gems/mocha-0.13.2/lib/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run' | |
/usr/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:36:in `block in run' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:436:in `_run__1330379990463763664__setup__1864625436604325266__callbacks' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:35:in `run' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment