Javi Martín
5ff1162038
Simplify creating follows in specs
...
While in theory we wouldn't need to use the `transient` nor the
`after(:create)` because there's already a `has_many :through`
association with followers, Factory Bot / ActiveRecord don't
automatically associate the followable, resulting in an invalid record
exception.
2019-09-30 13:34:31 +02:00
Julian Herrero
31ac8b7f55
Change single quotes to double quotes
2019-02-15 11:40:39 +01:00
Bertocq
fbfabaeda4
Fix typo at followable shared spec
2018-02-19 11:07:59 +01:00
Bertocq
44aeb7528d
Fix line lenght issues on spec files
2018-02-15 23:21:03 +01:00
Bertocq
f376707b2d
Fix style of method with parameters call using parenthesis
2017-12-13 14:11:52 +01:00
Bertocq
1c863d7d84
Use activerecord model name on followable specs
2017-12-13 14:11:22 +01:00
Bertocq
7d406cae76
Rubocop autocorrections
2017-07-25 13:01:03 +02:00
Senén Rodero Rodríguez
dec7d2d2b5
Add followable specific notices to follows controller actions and render notice on AJAX JS response.
2017-07-19 19:43:05 +02:00
Senén Rodero Rodríguez
c9a6630c94
Remove popup on follow buttons and remove uneeded code.
2017-07-19 17:51:45 +02:00
taitus
e54e33f296
Use display in followable shared specs names when referring to DOM elements renderization. Add whitespace to proposal page.
2017-07-07 13:38:53 +02:00
taitus
35f7f11177
Add dependent destroy to followable.
2017-07-07 13:37:55 +02:00
Senén Rodero Rodríguez
1f22286e29
Create rspec shared examples to test followable features on any followable entity.
2017-07-07 13:34:54 +02:00