Files
fetsite/spec/views/gremien/show.html.erb_spec.rb
Andreas Stephanides 34b602e126 a lot of new models ...
Fotogallary, gremien, fetprofil,
2013-08-19 15:39:56 +02:00

20 lines
451 B
Ruby

require 'spec_helper'
describe "gremien/show" do
before(:each) do
@gremium = assign(:gremium, stub_model(Gremium,
:name => "Name",
:desc => "MyText",
:typ => "Typ"
))
end
it "renders attributes in <p>" do
render
# Run the generator again with the --webrat flag if you want to use webrat matchers
rendered.should match(/Name/)
rendered.should match(/MyText/)
rendered.should match(/Typ/)
end
end