Closed jigarius closed 3 years ago
Configured automated test execution with Travis. Currently, there's only one placeholder test to check if 1 == 1
😅 I hope I can add some real tests soon.
.deploy
directorydb/seeds.rb
to create dummy data for dev envs
redmine/db/seeds.rb
and run rake db:seed
to import test dataHaving worked with Redmine tests, I can say that I've seen it all as a developer 😓 .
UserCustomField
for Toggl API Token gets deleted during tests for some reason?Rails.application.routes.append
in setup {}
don't get recognized during the tests.
routes.rb
and wrapped it in a if Rails.env == 'test'
.Now that the T2rBaseController
is out of the way, the rest should be relatively simple.
To-do
Rakefile
TogglTimeEntry
TogglWorkspace
TogglTimeEntryGroup
TogglMapping
TogglService
T2rBaseController
T2rImportController
T2rRedmineController
T2rTogglController