require 'spec_helper' describe "calendars/show" do before(:each) do @calendar = assign(:calendar, stub_model(Calendar, :name => "Name", :public => false )) end it "renders attributes in

" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/Name/) rendered.should match(/false/) end end