Files
fetsite/spec/views/memberships/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
493 B
Ruby

require 'spec_helper'
describe "memberships/show" do
before(:each) do
@membership = assign(:membership, stub_model(Membership,
:fetprofile_id => "Fetprofile",
:gremium_id => "Gremium",
: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(/Fetprofile/)
rendered.should match(/Gremium/)
rendered.should match(/Typ/)
end
end