Commit graph

9 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
Artur Beljajev
f8eda810f9 Use setup/teardown blocks instead of methods 2018-04-04 01:42:59 +03:00
Artur Beljajev
d2e8afdb5a Extract test
#727
2018-02-24 13:32:43 +02:00
Artur Beljajev
b5870d3eb5 Allow skipping email notification on domain force delete
#727
2018-02-24 13:05:04 +02:00
Artur Beljajev
a49b592fac Add test
#727
2018-02-24 12:01:22 +02:00
Artur Beljajev
ad75564e97 Use _url helper instead of _path
#727
2018-02-24 12:00:59 +02:00
Artur Beljajev
198a19e441 Fix test
#727
2018-02-24 10:34:39 +02:00
Artur Beljajev
b42d06024e Convert spec to test
#727
2018-02-20 03:49:53 +02:00