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
[email protected]
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
