spec/stratify/renderable_spec.rb in stratify-base-0.1.3 vs spec/stratify/renderable_spec.rb in stratify-base-0.1.4

- old
+ new

@@ -25,11 +25,11 @@ renderable_class = anonymous_class_with_renderable_mixin renderable_class.template_format :haml renderable_class.template_format.should == :haml end end - + describe "#presenter" do it "returns the object" do renderable_object = anonymous_class_with_renderable_mixin.new renderable_object.presenter.should == renderable_object end @@ -44,10 +44,10 @@ class << renderable_object def name "Kilgore" end end - + renderable_object.to_html.should == "Hello, Kilgore" end end end