require 'spec_helper' describe "languages/show" do before(:each) do @language = assign(:language, stub_model(Language, :name => "Name", :code => "Code", :default => 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/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/Code/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/false/) end end