Closed sainies closed 9 years ago
@sainies
No. These test doesn't require any fixtures.
The problem is in your code(SQL).
I guess you use inner join to join events and attends.
But in this case you have to use outer join.
Best.
Shunji
Yes, you are right, the test don't require any fixtures. I was assuming the list would show only events having one or more attendees.
In the company_event_specs
The "From 2015-05-01", "Specify offset" and "Specify offset and limit" tests, should include fixtures that insert attends data into the database, before the tests run. Otherwise there is no data to when running these tests. The "From 2015-04-01" test does include this fixture.