Hi, I have the following method in a Rails view helper:
def title content_for(:title) do # some code which generates a title dynamically end end How can I spec that the code inside the block returns the correct title? TIA, -- Guilherme Machado Cirne gci...@gmail.com
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users