Displaying 1 result from an estimated 1 matches for "spacer_tamplate".
2007 Aug 02
2
Do the :attributes and :content matchers work
...file there is an example
describe "A view that includes a partial using :collection and
:spacer_template", :behaviour_type => :view do
before(:each) do
render "view_spec/partial_collection_including_template"
end
it "should render the partial w/ spacer_tamplate" do
response.should have_tag(''div'', :content => ''Alice'')
response.should have_tag(''hr'', :attributes =>{:id => "spacer"})
response.should have_tag(''div'', :content => ''Bob'...