mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-10 17:34:22 +01:00
Add tests for the new object and fix a bug
Each of the individual query chunks has their own test, in addition to a test for the full combination of parameters that could influence a query. There is also a bugfix for the tag query in here, since I want, as much as possible, to have passing tests on every commit.
This commit is contained in:
parent
df091c7ec5
commit
fc17a03bc0
5 changed files with 154 additions and 2 deletions
10
test/fixtures/projects.yml
vendored
10
test/fixtures/projects.yml
vendored
|
|
@ -56,3 +56,13 @@ attendrailsconf:
|
|||
user_id: 2
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
||||
attendgophercon:
|
||||
id: 5
|
||||
name: Attend Gophercon
|
||||
description: 'Because those little gopher drawing are cute'
|
||||
position: 2
|
||||
state: 'active'
|
||||
user_id: 2
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue