search for: link_test

Displaying 3 results from an estimated 3 matches for "link_test".

Did you mean: link_dest
2007 Dec 20
0
Relative URL fix
...efore_filters. This was not the same as having a controller that didn''t really have any knowledge of the facebook portion of the app, which is what the test seemed to imply. I created a NonFacebookController like so: class NonFacebookController < ActionController::Base def link_test render :text=>''link'' end def rescue_action(e) raise e end end And changed the routing to include a default path like so: ActionController::Routing::Routes.draw do |map| map.connect ''require_auth/:action'', :controller => &quo...
2005 Oct 20
5
Unit Test Error: `load_specification': undefined method `parse' for Time:Class
...test.rb" "test/unit/company_test.rb" "test/unit/contact_test.rb" "test/unit/ file_note_test.rb" "test/unit/file_status_test.rb" "test/unit/ file_type_test.rb" "test/unit/grade_test.rb" "test/unit/lab_test.rb" "test/unit/link_test.rb" "test/unit/localization_test.rb" "test/unit/ notification_test.rb" "test/unit/priority_test.rb" "test/unit/ role_test.rb" "test/unit/supplier_type_test.rb" "test/unit/ ticket_test.rb" /usr/local/lib/ruby/site_ruby/1.8/rubygems/sou...
2006 Sep 18
2
BUG: Possible issue with escaped hrefs
...ces.html'' --- test.rb require ''rubygems'' require ''mechanize'' agent = WWW::Mechanize.new # Un-comment to debug using Charles # agent.set_proxy(''localhost'', ''8888'') first = agent.get(''http://localhost/~schapht/link_test/start.html'') second = agent.click(first.links.first) puts second.body --- end test.rb Expected: This page is after the link. Actual: /opt/local/lib/ruby/1.8/net/http.rb:1049:in `request'': Unhandled response (WWW::Mechanize::ResponseCodeError) [likely due to 404] Finally, I&...