changeset 18: | b97ed3573af2 |
author: | moriq <moriq@moriq.com> |
date: | Mon Mar 10 10:39:23 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | generate rspec_scaffold product. |
1require File.dirname(__FILE__) + '/../../spec_helper'23describe "/products/show.html.erb" do4 include ProductsHelper56 before(:each) do7 @product = mock_model(Product)89 assigns[:product] = @product10 end1112 it "should render attributes in <p>" do13 render "/products/show.html.erb"14 end15end16