5 describe "goons/show.html.erb" do
7 @goon = assign(:goon, stub_model(Goon,
8 :title => "佐藤さんから誕生日プレゼントを貰った",
11 :description => "リラっくまのぬいぐるみを貰った"
15 it "renders attributes in <p>" do
17 # Run the generator again with the --webrat flag if you want to use webrat matchers
18 rendered.should match(/佐藤さんから誕生日プレゼントを貰った/)
19 # Run the generator again with the --webrat flag if you want to use webrat matchers
20 rendered.should match(/佐藤さん/)
21 # Run the generator again with the --webrat flag if you want to use webrat matchers
22 rendered.should match(/職場/)
23 # Run the generator again with the --webrat flag if you want to use webrat matchers
24 rendered.should match(/リラっくまのぬいぐるみを貰った/)