change meetings

This commit is contained in:
Sai
2014-08-27 15:22:47 +02:00
parent 3b6a964ae6
commit 585b386e7c
45 changed files with 1046 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
require 'spec_helper'
describe "fetmeetingtops/show" do
before(:each) do
@fetmeetingtop = assign(:fetmeetingtop, stub_model(Fetmeetingtop,
:title => "Title",
:text => "MyText",
:discussion => "MyText",
:ersteller => "Ersteller",
:fetmeeting_id => 1
))
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(/Title/)
rendered.should match(/MyText/)
rendered.should match(/MyText/)
rendered.should match(/Ersteller/)
rendered.should match(/1/)
end
end