Skip to content

Instantly share code, notes, and snippets.

@sanaumair
Created March 21, 2012 14:53
Show Gist options
  • Save sanaumair/2147879 to your computer and use it in GitHub Desktop.
Save sanaumair/2147879 to your computer and use it in GitHub Desktop.
1) Error:
test: The page should have translated item type in URLs for the alternate languages. (AlternateLanguagesTest):
NoMethodError: undefined method `pending' for #<AlternateLanguagesTest:0x7c76118>
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/alternate_languages_test.rb:49:in `__bind_1332341074_297892'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `call'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `test: The page should have translated item type in URLs for the alternate languages. '
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:417: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) Failure:
test: The robots.txt file should allow the Majestic bot. (AnalyticsTaggingTest)
[test/integration/analytics_tagging_test.rb:32:in `__bind_1332341080_269234'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `call'
shoulda (2.11.3) lib/shoulda/context.rb:382:in `test: The robots.txt file should allow the Majestic bot. '
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']:
<"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body><p># See http://www.robotstxt.org/wc/norobot
s.html for documentation on how to use the robots.txt file\r\n#\r\n# To ban all spiders from the entire site uncomment the next two lines:\r\n# User-Agent: *\r\n# Disallo
w: /\r\nsitemap: http://www.boatshop24.com/sitemap_index.xml.gz\r\n\r\nUser-Agent: MJ12bot\r\nDisallow:\r\n\r\n</p></body></html>\n"> expected to be =~
</User-Agent: MJ12bot\nDisallow:\n/>.
Finished in 116.069638 seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment