Skip to content

Instantly share code, notes, and snippets.

@sanaumair
Created March 21, 2012 14:28
Show Gist options
  • Save sanaumair/2147401 to your computer and use it in GitHub Desktop.
Save sanaumair/2147401 to your computer and use it in GitHub Desktop.
EEEFEF
1) Error:
test: Make sure we have all the facet boxes needed for a certain search_type visible should item_types. (ResultItemsControllerTest):
NoMethodError: undefined method `pending' for #<ResultItemsControllerTest:0x7e23e38>
actionpack (3.1.3) lib/action_dispatch/testing/assertions/routing.rb:175:in `method_missing'
actionpack (3.1.3) lib/action_dispatch/testing/integration.rb:376:in `method_missing'
test/integration/result_items_test.rb:199:in `__bind_1332339394_58788'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `call'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `test: Make sure we have all the facet boxes needed for a certain search_type visible should item_types. '
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `run'
activesupport (3.1.3) lib/active_support/callbacks.rb:408:in `_run_setup_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:65:in `run'
2) Error:
test: Result item heading should have manufacturer and model in heading. (ResultItemsControllerTest):
Capybara::ElementNotFound: Unable to find css "div.tabs pre"
capybara (1.1.2) lib/capybara/node/finders.rb:154:in `raise_find_error'
capybara (1.1.2) lib/capybara/node/finders.rb:27:in `find'
capybara (1.1.2) lib/capybara/node/base.rb:46:in `wait_until'
capybara (1.1.2) lib/capybara/node/finders.rb:27:in `find'
(eval):2:in `send'
(eval):2:in `find'
capybara (1.1.2) lib/capybara/dsl.rb:161:in `find'
test/integration/result_items_test.rb:37:in `load_result_item_from_debug'
test/integration/result_items_test.rb:132:in `__bind_1332339394_67789'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `call'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `test: Result item heading should have manufacturer and model in heading. '
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `run'
activesupport (3.1.3) lib/active_support/callbacks.rb:408:in `_run_setup_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:65:in `run'
3) Error:
test: Result item heading should have marina or Untitled in heading. (ResultItemsControllerTest):
Capybara::ElementNotFound: Unable to find css "div.tabs pre"
capybara (1.1.2) lib/capybara/node/finders.rb:154:in `raise_find_error'
capybara (1.1.2) lib/capybara/node/finders.rb:27:in `find'
capybara (1.1.2) lib/capybara/node/base.rb:46:in `wait_until'
capybara (1.1.2) lib/capybara/node/finders.rb:27:in `find'
(eval):2:in `send'
(eval):2:in `find'
capybara (1.1.2) lib/capybara/dsl.rb:161:in `find'
test/integration/result_items_test.rb:37:in `load_result_item_from_debug'
test/integration/result_items_test.rb:147:in `__bind_1332339397_784001'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `call'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `test: Result item heading should have marina or Untitled in heading. '
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `run'
activesupport (3.1.3) lib/active_support/callbacks.rb:408:in `_run_setup_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:65:in `run'
4) Failure:
test: Search for 'se', ALL item types, click first item should valid content for single first item. (ResultItemsControllerTest)
[test/integration/result_items_test.rb:85:in `__bind_1332339402_457269'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `call'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `test: Search for 'se', ALL item types, click first item should valid content for single first item. '
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `run'
activesupport (3.1.3) lib/active_support/callbacks.rb:408:in `_run_setup_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:65:in `run']:
have title.
<false> is not true.
5) Error:
test: Search for 'se', ALL item types, click second item should prev should lead to next which should be current item. (ResultItemsControllerTest):
Capybara::ElementNotFound: Unable to find xpath "//article//footer//li[@class='two']/a[@class='previous']"
capybara (1.1.2) lib/capybara/node/finders.rb:154:in `raise_find_error'
capybara (1.1.2) lib/capybara/node/finders.rb:27:in `find'
capybara (1.1.2) lib/capybara/node/base.rb:46:in `wait_until'
capybara (1.1.2) lib/capybara/node/finders.rb:27:in `find'
(eval):2:in `send'
(eval):2:in `find'
test/integration/result_items_test.rb:108:in `__bind_1332339405_330433'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `call'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `test: Search for 'se', ALL item types, click second item should prev should lead to next which should be current item.
'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `run'
activesupport (3.1.3) lib/active_support/callbacks.rb:408:in `_run_setup_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:65:in `run'
6) Failure:
test: Search for 'se', ALL item types, click second item should valid content for sendond item. (ResultItemsControllerTest)
[test/integration/result_items_test.rb:100:in `__bind_1332339407_564561'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `call'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `test: Search for 'se', ALL item types, click second item should valid content for sendond item. '
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:67:in `run'
activesupport (3.1.3) lib/active_support/callbacks.rb:408:in `_run_setup_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
activesupport (3.1.3) lib/active_support/testing/setup_and_teardown.rb:65:in `run']:
have 'prev' link.
<false> is not true.
Finished in 60.972487 seconds.
42 tests, 637 assertions, 2 failures, 4 errors, 0 pendings, 0 omissions, 0 notifications
0% passed
0.69 tests/s, 10.45 assertions/s
Errors running test:integration!
C:\Users\Sana\vanilla2\boatshop_website>
@edzhelyov
Copy link

rescue_from Api::Errors::BadRequest, :with => :mm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment