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,26 @@
require 'spec_helper'
describe "fetmeetingtops/edit" do
before(:each) do
@fetmeetingtop = assign(:fetmeetingtop, stub_model(Fetmeetingtop,
:title => "MyString",
:text => "MyText",
:discussion => "MyText",
:ersteller => "MyString",
:fetmeeting_id => 1
))
end
it "renders the edit fetmeetingtop form" do
render
# Run the generator again with the --webrat flag if you want to use webrat matchers
assert_select "form[action=?][method=?]", fetmeetingtop_path(@fetmeetingtop), "post" do
assert_select "input#fetmeetingtop_title[name=?]", "fetmeetingtop[title]"
assert_select "textarea#fetmeetingtop_text[name=?]", "fetmeetingtop[text]"
assert_select "textarea#fetmeetingtop_discussion[name=?]", "fetmeetingtop[discussion]"
assert_select "input#fetmeetingtop_ersteller[name=?]", "fetmeetingtop[ersteller]"
assert_select "input#fetmeetingtop_fetmeeting_id[name=?]", "fetmeetingtop[fetmeeting_id]"
end
end
end