-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix task 'Error: Time gap!' caused by ARel .order() on the same colum…
…n as the default_scope
- Loading branch information
Showing
7 changed files
with
34 additions
and
26 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Feature: Task: Error: Time Gap | ||
>I order to see where I spend my time | ||
As a person reflecting on my time | ||
I want to have a continuous timeline without gaps or overlaps | ||
|
||
Background: Signed in | ||
Given I am signed in as a new user | ||
|
||
@time_travel | ||
Scenario: Fill time gap | ||
Given it is "1/3/2010 8:13:23 AM" | ||
And I have a task "Oldest" that started "10m" ago | ||
And I have a task "Old" that started "6m" ago | ||
And I have a task "With STOP!" that started "3m" and stopped "1m" ago | ||
When I have a task "New" that started "0s" ago | ||
And I am on the tasks page | ||
Then I should see "Error: Time gap!" title in task 2 | ||
|
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