a lot of new models ...

Fotogallary, gremien, fetprofil,
This commit is contained in:
Andreas Stephanides
2013-08-19 15:39:56 +02:00
parent a19d708134
commit 34b602e126
107 changed files with 2615 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
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