1 require File.dirname(__FILE__) + '/../../spec_helper'
3 describe "A shared view behaviour", :shared => true do
4 it "should have some tag with some text" do
5 response.should have_tag('div', 'This is text from a method in the ViewSpecHelper')
9 describe "A view behaviour", :behaviour_type => :view do
10 it_should_behave_like "A shared view behaviour"
13 render "view_spec/show"