Commit graph

10 commits

Author SHA1 Message Date
Artur Beljajev
0a5de433c2 Fix spec helpers 2018-08-09 14:48:16 +03:00
Artur Beljajev
7e356730e2 Fix spec helper 2018-07-18 22:52:21 +03:00
Artur Beljajev
32ecf36057 Rename users.password to users.plain_text_password
Otherwise it conflicts with Devise
2018-07-13 23:09:21 +03:00
Artur Beljajev
9684c8e59f Refactor Devise integration
- Use scoped users
- Use the named route helpers instead of hardcoded paths
2018-06-20 12:21:22 +03:00
Artur Beljajev
d064dbc11f Replace Warden test helpers with Devise ones 2018-06-19 19:40:35 +03:00
Artur Beljajev
2da578a437 Migrate fabricators to factory bot factories (#626)
* Remove factory_girl include from dev rake task

No longer needed after 92b125b4a7

* Add missing factories

* Use FactoryBot factories instead of fabricators

* Remove all fabricators

* Remove unused method

* Remove fabrication gem

* Rename FactoryGirl to FactoryBot

https://robots.thoughtbot.com/factory_bot
2017-11-16 10:18:53 +02:00
Artur Beljajev
5b3d7f047f Add registrant login spec helper 2017-03-22 04:06:28 +02:00
Artur Beljajev
117399af5e Add admin sign in spec helper
#268
2017-01-18 11:52:56 +02:00
Artur Beljajev
be0d0ab095 Fix session helpers spec support 2016-12-08 18:55:19 +02:00
Artur Beljajev
8de0b8b591 Add session helper for feature specs 2016-12-08 17:48:09 +02:00