spec/resources/helpers/explicit_helper.rb in dchelimsky-rspec-rails-1.1.11.7 vs spec/resources/helpers/explicit_helper.rb in dchelimsky-rspec-rails-1.1.12
- old
+ new
@@ -33,6 +33,14 @@
end
def flash_thing
flash[:thing]
end
+
+ def method_using_output_buffer
+ concat("the_text_from_concat")
+ end
+
+ def method_using_template
+ update_page { |p| p["#some_id"].replace_html "" }
+ end
end