Displaying 1 result from an estimated 1 matches for "playlist_spec".
2007 May 28
2
Rails, respond_to? over anonymous module (extend has_many).
...sets.should respond_to(:delete_at) }
it { @list.assets.should respond_to(:order) }
it { @list.assets.should respond_to(:reorder) }
end
==
Only #order and #reorder report errors:
1)
''Playlist should respond to #order'' FAILED
expected target to respond to :order
./spec\models\playlist_spec.rb:16:
2)
''Playlist should respond to #reorder'' FAILED
expected target to respond to :reorder
./spec\models\playlist_spec.rb:17:
Attached is the backtrace (--backtrace) when running with spec command.
Any hint?
Command works and do what its expected, but respond_to from RSpec
d...