ysksn
48e27c47a7
Add a test for SiteUpload#cache_key ( #5685 )
2017-11-14 20:44:11 +01:00
ysksn
4112a0631f
Add tests for Setting ( #5683 )
2017-11-14 11:08:04 +09:00
ysksn
60f247c2e7
Add tests for SessionActivation ( #5668 )
...
* Fabricate SessionActivation
not only user_id but user association.
* Add tests for SessionActivation
2017-11-13 09:54:48 +09:00
ysksn
2fb722397d
Add tests for RemoteProfile ( #5665 )
2017-11-12 16:23:31 +09:00
ysksn
56720ba590
Add tests for RemoteFollow ( #5651 )
...
* Add tests for RemoteFollow.initialize
* Add tests for RemoteFollow#valid?
* Add tests for RemoteFollow#subscribe_address_for
2017-11-10 16:56:02 +01:00
ysksn
07cca6e364
Add tests for Notification ( #5640 )
...
* Add tests for Notification#target_status
* Add tests for Notification#browserable?
* Add tests for Notification.reload_stale_associations!
2017-11-09 14:37:10 +01:00
ysksn
54b42901df
Add and Remove tests for FollowRequest ( #5622 )
...
* Add a test for FollowRequest#authorize!
* Remove tests
There is no need to test
ActiveModel::Validations::ClassMethods#validates.
* Make an alias of destroy! as reject!
Instead of defining the method,
make an alias of destroy! as reject! because of reducing test.
2017-11-09 14:36:52 +01:00
ysksn
64cc129225
Add tests for MediaAttachment ( #5620 )
...
- `#local?`
- `#needs_redownload?`
- `#to_param`
2017-11-08 15:29:07 +09:00
ysksn
97fc2da2e0
Add tests for CustomEmoji#local? and #object_type ( #5621 )
2017-11-08 15:28:17 +09:00
ysksn
d307ee79e9
Implement tests for Account#refresh! ( #5601 )
2017-11-06 13:54:41 +09:00
ysksn
cf01326cc1
Add test for Account#save_with_optional_media! ( #5603 )
...
There was a test when some of the properties are invalid, but none when all
of them are valid.
2017-11-06 13:54:12 +09:00
ysksn
15c0f6ae56
Implement tests for Account#possibly_stale? ( #5591 )
2017-11-05 17:20:05 +09:00