chuckya/spec
Eugen Rochko 38e9662d78
Disable language detection for texts shorter than 140 characters ()
If the input text is blank after preparation (only mention, or
only URL, or empty as in a media post), then use nil as language,
since it's OK to show to everyone.

Otherwise, always fall back to the server's default locale
2018-07-14 04:05:36 +02:00
..
controllers Add more granular OAuth scopes () 2018-07-05 18:31:35 +02:00
fabricators Add federation relay support () 2018-07-13 02:16:06 +02:00
features Add scenarios for log in () 2017-06-01 17:25:59 +02:00
fixtures Slightly reduce RAM usage () 2018-05-02 18:58:48 +02:00
helpers Append '.test' to hostname in stub data () 2018-04-25 14:12:28 +02:00
lib Disable language detection for texts shorter than 140 characters () 2018-07-14 04:05:36 +02:00
mailers Account archive download () 2018-02-21 23:21:32 +01:00
models Add federation relay support () 2018-07-13 02:16:06 +02:00
policies Add status destroy authorization to policy () 2017-05-30 22:56:31 +02:00
presenters Isolate each specs for cache store () 2018-02-17 22:35:05 +01:00
requests Use raw status code on have_http_status () 2018-04-21 21:35:07 +02:00
routing Move create/destroy actions for api/v1/statuses to namespace () 2017-06-10 09:39:26 +02:00
services Fix domain hiding logic () 2018-06-09 22:46:54 +02:00
support Remove empty strings () 2017-11-17 10:52:30 +09:00
validators Add a spec for UniqueUsernameValidator () 2018-03-27 05:22:58 +02:00
views Remove .p-name microformat class () 2018-07-07 18:51:56 +02:00
workers Lists () 2017-11-18 00:16:48 +01:00
rails_helper.rb Slightly reduce RAM usage () 2018-05-02 18:58:48 +02:00
spec_helper.rb Disable simplecov on CircleCI () 2018-05-09 16:59:58 +02:00