require 'spec_helper' describe "fetprofiles/show", :type => :view do before(:each) do # @fetprofile = #assign(:fetprofile, stub_model(Fetprofile, FactoryGirl.attributes_for(:fetprofile))) default_url_options[:locale] = :de assign(:fetprofile, FactoryGirl.create(:fetprofile)) 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(/Vorname/) rendered.should match(/Nachname/) rendered.should match(/Short/) rendered.should match(/Fetmailalias/) rendered.should match(/MyText/) rendered.should match(/false/) end end