forked from source-academy/frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assessments controller (source-academy#116)
* First draft * Added path for unattempted assessments * Change to Ecto Query * WIP * Add factories and seeds * Add test helpers * Update api spec according to changes from Vignesh * Implement index * Hotfix tests * Implement show sans test * Add tests * Move stuffs into context * Fix merge conflict * Finish GET /assessments functionality * Meh * Update swagger schema * WIP * Add faker * Change tests to use faker * Add more factories * Add more seeds * Add more seeds * Minor changes to factory * Done with functionality * Check is_published for assessments/show * Minor change * Wups * Fix wupsies * Add test seeds * Add ordering * HMMM * Add some tests * Minor changes * Move helpers into contexts * Add tests * Add one test jesus christ that took forever * Add one more test * Add one more test * Minor refactor of tests * Minor refactor of tests * Add open_at time validation * Fix open_at check * remove unused case * Use view helpers in tests * Fix according to review and add comment * Minor change to seeds to fix styling * lol * Add attempted flag to GET /assessments * Update swagger schema
- Loading branch information
1 parent
02491de
commit b95b0f8
Showing
16 changed files
with
875 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,5 +104,7 @@ erl_crash.dump | |
*.tfstate | ||
*.backup | ||
|
||
# VSCode Elixir language support | ||
.elixir_ls/ | ||
|
||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.