http://rspec.rubyforge.org/rspec/1.2.9/classes/Spec/Matchers.html
|
|||||
|
http://rspec.rubyforge.org/rspec/1.2.9/classes/Spec/Matchers.html Ran into a problem with RSpec when trying to create a spec for a view that used an ActionView url helper that required additional parameters to generate the url. route.edit_page ‘:site/edit’, :conditions => { :method => :get }, :controller => ‘webpages’, :action => ‘edit_page’ The above route sets params[:site] which is later used for url generation (using, [...] |
|||||
|
Copyright © 2010 Sam Pierson's Blog - All Rights Reserved |
|||||