Added projects
This commit is contained in:
parent
0964187f22
commit
8b4ffb83ec
37 changed files with 470 additions and 1935 deletions
|
|
@ -13,12 +13,12 @@ class ReportsTest < ApplicationSystemTestCase
|
|||
end
|
||||
|
||||
test "visiting the index" do
|
||||
visit reports_url
|
||||
visit project_reports_url(@report.project)
|
||||
assert_selector "h1", text: "Prüfberichte"
|
||||
end
|
||||
|
||||
test "should create report" do
|
||||
visit reports_url
|
||||
visit project_reports_url(@report.project)
|
||||
click_on "Prüfbericht hinzufügen"
|
||||
|
||||
fill_in_rich_text_area "Projektbeschreibung", with: @report.comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue