[rspec-users] spec'ing the :conditions argument of a find
lists at ruby-forum.com
Tue Oct 28 10:52:38 EDT 2008
Let's see, I want to spec the :conditions args to make sure the right
args is passed to the query.
:conditions => ["inte_no = ? and vaat_id_type_statut_pcpa = ?",
:limit => 2,
:order => "trns_dt_appl_prod desc")
'vaat_id_type_statut_pcpa == 7)
I'm pretty sure this is not the right synthax.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users