Commit 253cf59
committed
Fix bugs uncovered by v2 API test coverage
These changes resolve the following issues uncovered via the API v2 tests:
- app/views/api/v2/datasets/_show.json.jbuilder
- Failure rendering output.doi_url when output is present (undefined method `doi_url`)
- config/routes.rb
- Spec failures due to undefined route helpers in test context (e.g., `api_v2_templates_path`)1 parent 021c87c commit 253cf59
2 files changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
0 commit comments