spec/spec_helper.rb in stonean-ruhl-0.3.0 vs spec/spec_helper.rb in stonean-ruhl-0.4.0
- old
+ new
@@ -11,6 +11,16 @@
def create_doc(layout = nil)
options = {:layout => layout}
html = Ruhl::Engine.new(@html, :layout => layout).render(self)
do_parse(html)
end
+
+class TestUser
+ attr_accessor :first_name, :last_name, :email
+
+ def initialize(first, last , email)
+ @first_name = first
+ @last_name = last
+ @email = email
+ end
+end