Skip to content

Instantly share code, notes, and snippets.

@DanBradbury

DanBradbury/gist:6627037

Last active Dec 23, 2015
Embed
What would you like to do?
19th morning run
1) Failure:
test_refresh_list(AlertsControllerTest) [test/functional/alerts_controller_test.rb:88]:
<0> expected but was
<2>.
2) Error:
test_create(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
3) Error:
test_create_with_email_options_all_true(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
4) Error:
test_create_with_email_options_one_false(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
5) Error:
test_destroy(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
6) Error:
test_edit(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
7) Error:
test_inbox(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
8) Error:
test_list(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
9) Error:
test_mark_read(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
10) Error:
test_mark_unread(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
11) Error:
test_new(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
12) Error:
test_show(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
13) Error:
test_update(BulletinsControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/test_helper.rb:852:in `create_bulletin'
test/functional/bulletins_controller_test.rb:15:in `setup'
14) Error:
test_generate(CouponRoiReportsControllerTest):
NameError: uninitialized constant CouponRoiReport::Ruport
app/models/coupon_roi_report.rb:120:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:110:in `new'
test/functional/coupon_roi_reports_controller_test.rb:143:in `test_generate'
15) Error:
test_update(CouponRoiReportsControllerTest):
NameError: uninitialized constant CouponRoiReport::Ruport
app/models/coupon_roi_report.rb:120:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:77:in `update'
test/functional/coupon_roi_reports_controller_test.rb:196:in `test_update'
16) Error:
test_create(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
17) Error:
test_destroy(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
18) Error:
test_edit(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
19) Error:
test_index(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
20) Error:
test_list(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
21) Error:
test_list_items_by_category(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
22) Error:
test_manage(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
23) Error:
test_new(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
24) Error:
test_show(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
25) Error:
test_update(CycleMenusControllerTest):
RuntimeError: ERROR CREATING OBJECT
test/test_helper.rb:216:in `check_obj'
test/functional/cycle_menus_controller_test.rb:19:in `setup'
26) Error:
test_search_for_name(DayPartsControllerTest):
ArgumentError: wrong number of arguments (1 for 2)
app/controllers/application_controller.rb:604:in `_search'
app/controllers/day_parts_controller.rb:16:in `search_for_name'
test/functional/day_parts_controller_test.rb:273:in `test_search_for_name'
27) Failure:
test_update(DayPartsControllerTest) [test/functional/day_parts_controller_test.rb:244]:
Expected response to be a <:redirect>, but was <200>
28) Error:
test_activate(DeviceConsoleControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE ("entities"."id" IN (NULL)) AND (entities.id=1 or (entities.lft>=1 and entities.rgt<8))
app/models/entity.rb:543:in `get_entity_leaves'
lib/command_methods.rb:76:in `run_action'
app/controllers/device_console_controller.rb:405:in `device_action'
test/functional/device_console_controller_test.rb:95:in `test_activate'
29) Error:
test_build_error(DeviceConsoleControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE ("entities"."id" IN (NULL)) AND (entities.id=1 or (entities.lft>=1 and entities.rgt<8))
app/models/entity.rb:543:in `get_entity_leaves'
lib/command_methods.rb:76:in `run_action'
app/controllers/device_console_controller.rb:405:in `device_action'
test/functional/device_console_controller_test.rb:116:in `setup_build'
test/functional/device_console_controller_test.rb:209:in `test_build_error'
30) Error:
test_build_status(DeviceConsoleControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE ("entities"."id" IN (NULL)) AND (entities.id=1 or (entities.lft>=1 and entities.rgt<8))
app/models/entity.rb:543:in `get_entity_leaves'
lib/command_methods.rb:76:in `run_action'
app/controllers/device_console_controller.rb:405:in `device_action'
test/functional/device_console_controller_test.rb:116:in `setup_build'
test/functional/device_console_controller_test.rb:127:in `test_build_status'
31) Error:
test_commands(DeviceConsoleControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE ("entities"."id" IN (NULL)) AND (entities.id=1 or (entities.lft>=1 and entities.rgt<8))
app/models/entity.rb:543:in `get_entity_leaves'
lib/command_methods.rb:76:in `run_action'
app/controllers/device_console_controller.rb:405:in `device_action'
test/functional/device_console_controller_test.rb:260:in `test_commands'
32) Error:
test_index(DeviceConsoleControllerTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #61 of app/views/shared/_filters.html.erb
58: <label><%= t(f.underscore.to_sym) %></label>
59: <% end %>
60: <% selected_class = @filter_selections[f].present? ? 'selected' :nil %>
61: <%= filter_multi_select(f.dasherize, f.underscore, f.humanize, send(f.to_s + "_options"), @filter_selections[f]) %>
62: </li>
63: <% end %>
64: <% single_select_filter_names.each do |f| %>
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/device_console_helper.rb:455:in `device_timezones_options'
app/views/shared/_filters.html.erb:61:in `block (2 levels) in _run_erb_app47views47shared47_filters46html46erb_locals_filters_object'
app/views/shared/_filters.html.erb:53:in `each'
app/views/shared/_filters.html.erb:53:in `block in _run_erb_app47views47shared47_filters46html46erb_locals_filters_object'
app/views/shared/_filters.html.erb:49
app/views/device_console/show_children.rhtml:87:in `_run_rhtml_app47views47device_console47show_children46rhtml'
app/controllers/device_console_controller.rb:14:in `index'
test/functional/device_console_controller_test.rb:30:in `test_index'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
33) Error:
test_max_devices(DeviceConsoleControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE ("entities"."id" IN (NULL)) AND (entities.id=1 or (entities.lft>=1 and entities.rgt<8))
app/models/entity.rb:543:in `get_entity_leaves'
lib/command_methods.rb:76:in `run_action'
app/controllers/device_console_controller.rb:405:in `device_action'
test/functional/device_console_controller_test.rb:423:in `test_max_devices'
34) Error:
test_show_children(DeviceConsoleControllerTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #61 of app/views/shared/_filters.html.erb
58: <label><%= t(f.underscore.to_sym) %></label>
59: <% end %>
60: <% selected_class = @filter_selections[f].present? ? 'selected' :nil %>
61: <%= filter_multi_select(f.dasherize, f.underscore, f.humanize, send(f.to_s + "_options"), @filter_selections[f]) %>
62: </li>
63: <% end %>
64: <% single_select_filter_names.each do |f| %>
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/device_console_helper.rb:455:in `device_timezones_options'
app/views/shared/_filters.html.erb:61:in `block (2 levels) in _run_erb_app47views47shared47_filters46html46erb_locals_filters_object'
app/views/shared/_filters.html.erb:53:in `each'
app/views/shared/_filters.html.erb:53:in `block in _run_erb_app47views47shared47_filters46html46erb_locals_filters_object'
app/views/shared/_filters.html.erb:49
app/views/device_console/show_children.rhtml:87:in `_run_rhtml_app47views47device_console47show_children46rhtml'
test/functional/device_console_controller_test.rb:37:in `test_show_children'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
35) Error:
test_stale_build(DeviceConsoleControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE ("entities"."id" IN (NULL)) AND (entities.id=1 or (entities.lft>=1 and entities.rgt<8))
app/models/entity.rb:543:in `get_entity_leaves'
lib/command_methods.rb:76:in `run_action'
app/controllers/device_console_controller.rb:405:in `device_action'
test/functional/device_console_controller_test.rb:116:in `setup_build'
test/functional/device_console_controller_test.rb:155:in `test_stale_build'
36) Error:
test_success_count_zero(DeviceConsoleControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE ("entities"."id" IN (NULL)) AND (entities.id=1 or (entities.lft>=1 and entities.rgt<8))
app/models/entity.rb:543:in `get_entity_leaves'
lib/command_methods.rb:76:in `run_action'
app/controllers/device_console_controller.rb:405:in `device_action'
test/functional/device_console_controller_test.rb:116:in `setup_build'
test/functional/device_console_controller_test.rb:179:in `test_success_count_zero'
37) Error:
test_create(DevicesControllerTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #58 of app/views/devices/edit.rhtml
55: <% end %>
56:
57: <div class="half first device">
58: <%= dual_timezone_selectors(f, :timezone_id, @device.timezone_id, 14) %>
59: </div>
60: <div class="half">
61: <label>Target SW Version</label>
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/application_helper.rb:311:in `all_timezone_options'
app/helpers/application_helper.rb:322:in `dual_timezone_selectors'
app/views/devices/edit.rhtml:58:in `block in _run_rhtml_app47views47devices47edit46rhtml'
app/views/devices/edit.rhtml:24:in `_run_rhtml_app47views47devices47edit46rhtml'
app/controllers/devices_controller.rb:103:in `create'
test/functional/devices_controller_test.rb:133:in `test_create'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
38) Error:
test_edit(DevicesControllerTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #58 of app/views/devices/edit.rhtml
55: <% end %>
56:
57: <div class="half first device">
58: <%= dual_timezone_selectors(f, :timezone_id, @device.timezone_id, 14) %>
59: </div>
60: <div class="half">
61: <label>Target SW Version</label>
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/application_helper.rb:311:in `all_timezone_options'
app/helpers/application_helper.rb:322:in `dual_timezone_selectors'
app/views/devices/edit.rhtml:58:in `block in _run_rhtml_app47views47devices47edit46rhtml'
app/views/devices/edit.rhtml:24:in `_run_rhtml_app47views47devices47edit46rhtml'
test/functional/devices_controller_test.rb:147:in `test_edit'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
39) Error:
test_new(DevicesControllerTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #58 of app/views/devices/edit.rhtml
55: <% end %>
56:
57: <div class="half first device">
58: <%= dual_timezone_selectors(f, :timezone_id, @device.timezone_id, 14) %>
59: </div>
60: <div class="half">
61: <label>Target SW Version</label>
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/application_helper.rb:311:in `all_timezone_options'
app/helpers/application_helper.rb:322:in `dual_timezone_selectors'
app/views/devices/edit.rhtml:58:in `block in _run_rhtml_app47views47devices47edit46rhtml'
app/views/devices/edit.rhtml:24:in `_run_rhtml_app47views47devices47edit46rhtml'
app/controllers/devices_controller.rb:76:in `new'
test/functional/devices_controller_test.rb:109:in `test_new'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
40) Error:
test_show(DevicesControllerTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #58 of app/views/devices/edit.rhtml
55: <% end %>
56:
57: <div class="half first device">
58: <%= dual_timezone_selectors(f, :timezone_id, @device.timezone_id, 14) %>
59: </div>
60: <div class="half">
61: <label>Target SW Version</label>
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/application_helper.rb:311:in `all_timezone_options'
app/helpers/application_helper.rb:322:in `dual_timezone_selectors'
app/views/devices/edit.rhtml:58:in `block in _run_rhtml_app47views47devices47edit46rhtml'
app/views/devices/edit.rhtml:24:in `_run_rhtml_app47views47devices47edit46rhtml'
app/controllers/devices_controller.rb:65:in `show'
test/functional/devices_controller_test.rb:99:in `test_show'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
41) Error:
test_destroy(EntitiesControllerTest):
PG::ConnectionBad: FATAL: database "account_db_test" does not exist
/usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
app/controllers/entities_controller.rb:192:in `destroy'
test/functional/entities_controller_test.rb:339:in `test_destroy'
42) Error:
test_generate_items_export(ExportsControllerTest):
NameError: uninitialized constant CSV::Reader
test/functional/exports_controller_test.rb:68:in `test_generate_items_export'
43) Error:
test_generate_messages_export(ExportsControllerTest):
NameError: uninitialized constant CSV::Reader
test/functional/exports_controller_test.rb:109:in `test_generate_messages_export'
44) Error:
test_generate(ImagesListReportsControllerTest):
NameError: uninitialized constant ImagesListReport::Ruport
app/models/images_list_report.rb:31:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:110:in `new'
test/functional/images_list_reports_controller_test.rb:82:in `test_generate'
45) Error:
test_update(ImagesListReportsControllerTest):
NameError: uninitialized constant ImagesListReport::Ruport
app/models/images_list_report.rb:31:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:77:in `update'
test/functional/images_list_reports_controller_test.rb:124:in `test_update'
46) Error:
test_search_for_name(ItemCategoriesControllerTest):
ArgumentError: wrong number of arguments (1 for 2)
app/controllers/application_controller.rb:604:in `_search'
app/controllers/item_categories_controller.rb:192:in `search_for_name'
test/functional/item_categories_controller_test.rb:470:in `test_search_for_name'
47) Error:
test_generate(ItemReportsControllerTest):
NameError: uninitialized constant ItemReport::Ruport
app/models/item_report.rb:19:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:110:in `new'
test/functional/item_reports_controller_test.rb:80:in `test_generate'
48) Error:
test_update(ItemReportsControllerTest):
NameError: uninitialized constant ItemReport::Ruport
app/models/item_report.rb:19:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:77:in `update'
test/functional/item_reports_controller_test.rb:121:in `test_update'
49) Error:
test_search_for_name(MessageGroupsControllerTest):
ArgumentError: wrong number of arguments (1 for 2)
app/controllers/application_controller.rb:604:in `_search'
app/controllers/message_groups_controller.rb:40:in `search_for_name'
test/functional/message_groups_controller_test.rb:145:in `test_search_for_name'
50) Error:
test_generate(MessagesListReportsControllerTest):
NameError: uninitialized constant MessagesListReport::Ruport
app/models/messages_list_report.rb:21:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:110:in `new'
test/functional/messages_list_reports_controller_test.rb:81:in `test_generate'
51) Error:
test_update(MessagesListReportsControllerTest):
NameError: uninitialized constant MessagesListReport::Ruport
app/models/messages_list_report.rb:21:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:77:in `update'
test/functional/messages_list_reports_controller_test.rb:124:in `test_update'
52) Error:
test_generate(ReceiptMessageReportsControllerTest):
NameError: uninitialized constant ReceiptMessageReport::Ruport
app/models/receipt_message_report.rb:24:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:110:in `new'
test/functional/receipt_message_reports_controller_test.rb:77:in `test_generate'
53) Error:
test_update(ReceiptMessageReportsControllerTest):
NameError: uninitialized constant ReceiptMessageReport::Ruport
app/models/receipt_message_report.rb:24:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:77:in `update'
test/functional/receipt_message_reports_controller_test.rb:118:in `test_update'
54) Error:
test_export(ReceiptsControllerTest):
PG::ConnectionBad: FATAL: database "account_db_test" does not exist
/usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
app/models/program_entity.rb:13:in `entity_programs'
lib/export_receipts.rb:14:in `main'
app/controllers/receipts_controller.rb:101:in `export'
test/functional/receipts_controller_test.rb:53:in `test_export'
55) Error:
test_index(ReceiptsControllerTest):
PG::ConnectionBad: FATAL: database "account_db_test" does not exist
/usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
app/models/program_entity.rb:13:in `entity_programs'
app/controllers/receipts_controller.rb:41:in `list'
app/controllers/receipts_controller.rb:5:in `index'
test/functional/receipts_controller_test.rb:39:in `test_index'
56) Error:
test_list(ReceiptsControllerTest):
PG::ConnectionBad: FATAL: database "account_db_test" does not exist
/usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
app/models/program_entity.rb:13:in `entity_programs'
app/controllers/receipts_controller.rb:41:in `list'
test/functional/receipts_controller_test.rb:45:in `test_list'
57) Error:
test_show_file(ReceiptsControllerTest):
NoMethodError: undefined method `strip' for nil:NilClass
app/controllers/receipts_controller.rb:158:in `show_file'
test/functional/receipts_controller_test.rb:142:in `test_show_file'
58) Error:
test_generate(SalesReportsControllerTest):
NameError: uninitialized constant SalesReport::Ruport
app/models/sales_report.rb:72:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:110:in `new'
test/functional/sales_reports_controller_test.rb:78:in `test_generate'
59) Error:
test_update(SalesReportsControllerTest):
NameError: uninitialized constant SalesReport::Ruport
app/models/sales_report.rb:72:in `generate'
app/models/report.rb:30:in `table'
app/controllers/reports_controller.rb:157:in `response_for'
app/controllers/reports_controller.rb:72:in `run'
app/controllers/reports_controller.rb:77:in `update'
test/functional/sales_reports_controller_test.rb:118:in `test_update'
60) Error:
test_bad_sort(SanitizeUrlTest):
PG::ConnectionBad: FATAL: database "account_db_test" does not exist
/usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
app/models/program_entity.rb:13:in `entity_programs'
app/controllers/receipts_controller.rb:41:in `list'
app/controllers/receipts_controller.rb:5:in `index'
test/functional/sanitize_url_test.rb:41:in `assert_default_sort'
test/functional/sanitize_url_test.rb:55:in `block in test_bad_sort'
test/functional/sanitize_url_test.rb:54:in `each'
test/functional/sanitize_url_test.rb:54:in `test_bad_sort'
61) Error:
test_loop(StackTooDeepTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #61 of app/views/shared/_filters.html.erb
58: <label><%= t(f.underscore.to_sym) %></label>
59: <% end %>
60: <% selected_class = @filter_selections[f].present? ? 'selected' :nil %>
61: <%= filter_multi_select(f.dasherize, f.underscore, f.humanize, send(f.to_s + "_options"), @filter_selections[f]) %>
62: </li>
63: <% end %>
64: <% single_select_filter_names.each do |f| %>
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/device_console_helper.rb:455:in `device_timezones_options'
app/views/shared/_filters.html.erb:61:in `block (2 levels) in _run_erb_app47views47shared47_filters46html46erb_locals_filters_object'
app/views/shared/_filters.html.erb:53:in `each'
app/views/shared/_filters.html.erb:53:in `block in _run_erb_app47views47shared47_filters46html46erb_locals_filters_object'
app/views/shared/_filters.html.erb:49
app/views/device_console/show_children.rhtml:87:in `_run_rhtml_app47views47device_console47show_children46rhtml'
test/functional/stack_too_deep_test.rb:60:in `test_loop'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
62) Failure:
test_refresh_list(StringValuesControllerTest) [test/functional/string_values_controller_test.rb:112]:
Expected response to be a redirect to <http://test.host/string_values/list?group=1&pos_profile_ids%5B%5D=1> but was a redirect to <http://test.host/string_values/list?pos_profile_ids%5B%5D=1>.
63) Error:
test_create(UsersControllerTest):
ActiveRecord::StatementInvalid: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_user_alerts_on_user_id_alert_id"
DETAIL: Key (user_id, alert_id)=(908005805, 1) already exists.
: INSERT INTO "user_alerts" ("user_id", "alert_id", "display", "email") VALUES(908005805, 1, 't', 't') RETURNING "id"
app/controllers/users_controller.rb:38:in `create'
test/functional/users_controller_test.rb:121:in `test_create'
64) Error:
test_edit(UsersControllerTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #53 of app/views/users/edit.rhtml
50: </div>
51:
52: <div class="full">
53: <%= dual_timezone_selectors(f, :timezone_id, @user.timezone_id, 4) %>
54: </div>
55:
56: <div class="full">
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/application_helper.rb:311:in `all_timezone_options'
app/helpers/application_helper.rb:322:in `dual_timezone_selectors'
app/views/users/edit.rhtml:53:in `block in _run_rhtml_app47views47users47edit46rhtml'
app/views/users/edit.rhtml:30:in `_run_rhtml_app47views47users47edit46rhtml'
app/controllers/users_controller.rb:112:in `_edit'
app/controllers/users_controller.rb:60:in `edit'
test/functional/users_controller_test.rb:147:in `test_edit'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
65) Error:
test_index(UsersControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE (entities.id=73 or (entities.lft>=6 and entities.rgt<7))
app/models/user.rb:111:in `users_list_with_joins'
app/controllers/users_controller.rb:188:in `list_setup'
app/controllers/users_controller.rb:18:in `list'
app/controllers/users_controller.rb:12:in `index'
test/functional/users_controller_test.rb:33:in `test_index'
66) Error:
test_list(UsersControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE (entities.id=74 or (entities.lft>=6 and entities.rgt<7))
app/models/user.rb:111:in `users_list_with_joins'
app/controllers/users_controller.rb:188:in `list_setup'
app/controllers/users_controller.rb:18:in `list'
test/functional/users_controller_test.rb:39:in `test_list'
67) Error:
test_list_associated_entity_users(UsersControllerTest):
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "["
LINE 1: SELECT ["entities.id, entities.lft, entities.rgt, entities.p...
^
: SELECT ["entities.id, entities.lft, entities.rgt, entities.parent_id"] FROM "entities" WHERE (entities.id=3 or (entities.lft>=3 and entities.rgt<4))
app/models/user.rb:111:in `users_list_with_joins'
app/controllers/users_controller.rb:188:in `list_setup'
app/controllers/users_controller.rb:18:in `list'
test/functional/users_controller_test.rb:83:in `test_list_associated_entity_users'
68) Error:
test_my_account(UsersControllerTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #53 of app/views/users/edit.rhtml
50: </div>
51:
52: <div class="full">
53: <%= dual_timezone_selectors(f, :timezone_id, @user.timezone_id, 4) %>
54: </div>
55:
56: <div class="full">
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/application_helper.rb:311:in `all_timezone_options'
app/helpers/application_helper.rb:322:in `dual_timezone_selectors'
app/views/users/edit.rhtml:53:in `block in _run_rhtml_app47views47users47edit46rhtml'
app/views/users/edit.rhtml:30:in `_run_rhtml_app47views47users47edit46rhtml'
app/controllers/users_controller.rb:112:in `_edit'
app/controllers/users_controller.rb:53:in `my_account'
test/functional/users_controller_test.rb:159:in `test_my_account'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
69) Error:
test_my_account_update(UsersControllerTest):
TypeError: can't convert Symbol into Integer
app/controllers/users_controller.rb:126:in `[]'
app/controllers/users_controller.rb:126:in `_update'
app/controllers/users_controller.rb:68:in `my_account_update'
test/functional/users_controller_test.rb:176:in `test_my_account_update'
70) Error:
test_new(UsersControllerTest):
ActionView::TemplateError: undefined method `new0' for DateTime:Class
On line #53 of app/views/users/edit.rhtml
50: </div>
51:
52: <div class="full">
53: <%= dual_timezone_selectors(f, :timezone_id, @user.timezone_id, 4) %>
54: </div>
55:
56: <div class="full">
app/models/timezone.rb:24:in `utc_offset'
app/helpers/application_helper.rb:293:in `timezone_option_string'
app/helpers/application_helper.rb:303:in `block in all_timezones'
app/helpers/application_helper.rb:303:in `collect'
app/helpers/application_helper.rb:303:in `all_timezones'
app/helpers/application_helper.rb:311:in `all_timezone_options'
app/helpers/application_helper.rb:322:in `dual_timezone_selectors'
app/views/users/edit.rhtml:53:in `block in _run_rhtml_app47views47users47edit46rhtml'
app/views/users/edit.rhtml:30:in `_run_rhtml_app47views47users47edit46rhtml'
app/controllers/users_controller.rb:31:in `new'
test/functional/users_controller_test.rb:110:in `test_new'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:34:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/testsuite.rb:33:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:216:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit/autorunner.rb:12:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p448/gems/test-unit-1.2.3/lib/test/unit.rb:278:in `block in <top (required)>'
71) Error:
test_update(UsersControllerTest):
TypeError: can't convert Symbol into Integer
app/controllers/users_controller.rb:126:in `[]'
app/controllers/users_controller.rb:126:in `_update'
app/controllers/users_controller.rb:75:in `update'
test/functional/users_controller_test.rb:203:in `test_update'
72) Error:
test_user_alerts(UsersControllerTest):
ActiveRecord::StatementInvalid: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_user_alerts_on_user_id_alert_id"
DETAIL: Key (user_id, alert_id)=(908005837, 1) already exists.
: INSERT INTO "user_alerts" ("user_id", "alert_id", "display", "email") VALUES(908005837, 1, 'f', 'f') RETURNING "id"
app/controllers/users_controller.rb:38:in `create'
test/functional/users_controller_test.rb:228:in `test_user_alerts'
363 tests, 1084 assertions, 3 failures, 69 errors
rake aborted!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment