[ create a new paste ] login | about

Link: http://codepad.org/s65Ckubc    [ raw code | fork ]

nickh - Plain Text, pasted on Jan 12:
1
2
3
4
5
6
7
8
9
10
11
12
13
$ spec spec/controllers/foods_controller_spec.rb
............................F.

1)
Test::Unit::AssertionFailedError in 'FoodsController GET search/almonds should map {:controller => :foods, :action => :search, :name => 'almonds'} to /foods/search/almond
s'
found extras <{:name=>"almonds"}>, not <{}>
If you're expecting this failure, we suggest { :get => "/foods/search/almonds" }.should_not be_routable
./spec/controllers/foods_controller_spec.rb:239:

Finished in 0.249979 seconds

30 examples, 1 failure


Create a new paste based on this one


Comments: