I wonder if I can just "stub out" #with_output_buffer to yield the
block immediately, and then assume it will work just as well in a
Rails view template?

class MyView < ActionView::Base
  attr_accessor :current_user

  def with_output_buffer
    yield
  end
end
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to