New Feature: Themen/Informationen

This commit is contained in:
HausdorffHimself
2013-08-05 18:31:04 +02:00
parent e3f7d7e472
commit ac4cb5d0fe
96 changed files with 2139 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
require 'spec_helper'
describe "attachments/index" do
before(:each) do
assign(:attachments, [
stub_model(Attachment,
:name => "Name"
),
stub_model(Attachment,
:name => "Name"
)
])
end
it "renders a list of attachments" do
render
# Run the generator again with the --webrat flag if you want to use webrat matchers
assert_select "tr>td", :text => "Name".to_s, :count => 2
end
end