ysksn
2d871feb10
Add spec for Api::V1::EndorsementsController ( #9543 )
2018-12-17 11:32:44 +01:00
ysksn
3fa9615cb3
Add spec for Api::V1::Instances::ActivityController ( #9545 )
2018-12-17 11:32:24 +01:00
ysksn
a3dcbfddd6
Add specs for Accounts::PinsController ( #9542 )
2018-12-17 06:03:51 +01:00
ysksn
3c31c28605
Add spec for Admin::ActionLogsController#index ( #9522 )
2018-12-14 20:37:01 +01:00
ysksn
458e2b0c5b
Add specs for RemoteInteractionController ( #9524 )
2018-12-14 20:36:40 +01:00
ysksn
c1600a0f69
Add spec for Admin::DashboardController#index ( #9523 )
2018-12-14 20:36:18 +01:00
ysksn
795bac44fd
Add spec for Settings::ExportsController#create ( #9512 )
2018-12-13 02:53:52 +01:00
ysksn
b048926e67
Create Settings::BaseController ( #9507 )
...
Define `Settings::BaseController#set_body_classes` so that sub classes
inherit `Settings::BaseController` don't need to define
`#set_body_classes` agein.
2018-12-12 22:32:13 +01:00
ysksn
83975a2394
Remove redundant ( #9503 )
2018-12-12 05:54:34 +01:00
ysksn
351ed12b2f
Use find_or_initialize_by ( #9504 )
2018-12-12 05:54:09 +01:00
ysksn
ed24bb2c3e
Add specs for activitypub collections controller ( #9484 )
...
* Add specs for ActivityPub::CollectionsController#show
* Raise ActiveRecord::RecordNotFound
Raising ActiveRecord::NotFound raises NameError: uninitialized constant
ActiveRecord::NotFound.
2018-12-10 21:39:25 +01:00
ysksn
6eae8f77af
Add spec for Admin::SuspentionsController#new ( #9483 )
2018-12-10 21:38:21 +01:00
ysksn
189a6b17fb
Remove RemoteAccountControllerConcern never used ( #9482 )
2018-12-10 21:38:01 +01:00
ysksn
361818e931
Fix Admin::TagsController#unhide ( #9481 )
2018-12-10 21:37:38 +01:00
ysksn
ae3d2f446a
Add specs for Admin::InvitesController ( #9471 )
2018-12-10 01:19:28 +09:00
ysksn
dfd123d5b3
Remove pending spec ( #9453 )
2018-12-07 16:53:55 +01:00
ysksn
d3547fa005
Add specs for ActivityPub::InboxesController ( #9456 )
2018-12-07 16:40:01 +01:00
ysksn
88b3eed16f
Add specs for Admin::AccountModerationNotesHelper ( #9455 )
2018-12-07 16:39:20 +01:00
ysksn
57bb62d5cf
Remove pending spec ( #9454 )
...
Since dots are not allowed in username,
this spec is no longer needed.
2018-12-07 16:38:50 +01:00
ysksn
51cbd045da
Add specs for AccountTagStat model ( #9452 )
2018-12-07 16:37:56 +01:00
ysksn
155cf12680
Remove pending spec ( #9442 )
...
`#from_account` isn't defined.
2018-12-06 17:39:15 +09:00
ysksn
e2910dff12
Add spec for Identity.find_for_oauth ( #9441 )
2018-12-06 17:38:49 +09:00
ysksn
1104ac35d3
Add tests for Streamable ( #5771 )
2017-11-24 14:42:57 +01:00
ysksn
8c0e77d688
Add tests for AccountRelationshipsPresenter ( #5805 )
2017-11-24 14:41:04 +01:00
ysksn
6f609dc4b4
Add tests for Remotable ( #5768 )
2017-11-21 13:59:36 +09:00
ysksn
2590aac863
Add tests for AccountInteractions ( #5751 )
...
* Add tests for class methods of AccountInteractions
* Add tests for instance methods of AccountInteractions
2017-11-19 04:16:14 +01:00
ysksn
8f638a2bf2
Add a test for Settings::Extend#settings ( #5720 )
2017-11-19 04:15:32 +01:00
ysksn
9d9b1aff1e
Add tests for Status#title ( #5718 )
2017-11-19 04:15:17 +01:00
ysksn
9dd5e329ab
Remove empty strings ( #5732 )
2017-11-17 10:52:30 +09:00
ysksn
9e3d24a150
Fix AccountFinderConcern::AccountFinder#with_usernames ( #5722 )
2017-11-16 12:13:03 +01:00
ysksn
556c07df1f
Add tests for Status#verb ( #5717 )
2017-11-16 15:46:29 +09:00
ysksn
3023725936
Add tests for Status#hidden? ( #5719 )
2017-11-16 11:07:27 +09:00
ysksn
19e8b861a2
Delegate some methods of User to @settings ( #5706 )
...
* Move some tests of User into Settings::ScopedSettings
* Add a test for User@settings
2017-11-15 16:05:20 +01:00
ysksn
7d7df877ef
Add a test for Tag#to_param ( #5705 )
2017-11-15 16:04:41 +01:00
ysksn
6d7e05ec1f
Add tests for StreamEntry ( #5687 )
...
* Add tests for StreamEntry
- `#object_type`
- `#verb`
- `#mentions`
* Fix to test results instead of implementations
2017-11-15 02:00:58 +01:00
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