revision 18: | b97ed3573af2 |
---|
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spec/views/products/show.html.erb_spec.rb Mon Mar 10 10:39:23 2008 +0900 @@ -0,0 +1,16 @@ +require File.dirname(__FILE__) + '/../../spec_helper' + +describe "/products/show.html.erb" do + include ProductsHelper + + before(:each) do + @product = mock_model(Product) + + assigns[:product] = @product + end + + it "should render attributes in <p>" do + render "/products/show.html.erb" + end +end +