Testes para AttachmentsController
This commit is contained in:
6
test/fixtures/courses.yml
vendored
6
test/fixtures/courses.yml
vendored
@@ -21,3 +21,9 @@ course_1:
|
||||
description: Description goes here
|
||||
period: <%= App.current_period %>
|
||||
|
||||
old_course:
|
||||
id: 2
|
||||
short_name: old_course
|
||||
full_name: Old Course
|
||||
description: Description goes here
|
||||
period: 1970.1
|
||||
|
||||
1
test/fixtures/files/another_attachment.txt
vendored
Normal file
1
test/fixtures/files/another_attachment.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Another hello world.
|
||||
1
test/fixtures/files/attachment.txt
vendored
Normal file
1
test/fixtures/files/attachment.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Hello world.
|
||||
Reference in New Issue
Block a user