Commit graph

4 commits

Author SHA1 Message Date
Maciej Szlosarczyk
526a9ccd58
Change test structure to follow closer newer Rails 5 rules
* Create new class called ApplicationIntegrationTest, so we don't have
  to override ActionDispatch::IntegrationTest
* Move UI tests to inherit from ApplicationSystemTestCase
* Existing REST API or EPP tests inherit from
  ApplicationIntegrationTest.
* Move `require 'application_system_test_case'` at the end of
  `test_helper`

I don't particularly agree with the Rails' convention of treating UI
tests as system tests and API tests as integration tests, but I see no
benefit in actively fighting against it.
2018-07-27 09:36:27 +03:00
Artur Beljajev
d064dbc11f Replace Warden test helpers with Devise ones 2018-06-19 19:40:35 +03:00
Maciej Szlosarczyk
a82db7a67a
Solve both sides of the missing fields bug, not only one 2018-04-26 08:46:21 +03:00
Maciej Szlosarczyk
b0bec41f56
Write a test that covers missing and non-existent values 2018-04-24 11:53:27 +03:00