chinwagsocial/spec
Joël Quenneville 0c2fe22bc1 Add test coverage to CSS class generation ()
The code that generates CSS is based on a lot of boolean conditions.
The possible combinations of these grows exponentially as we add more
conditions.

Since most of the code is conditional on a single boolean, we tested the
following:

1. All `false`
2. All `true`
3. Each individual flag set to `true`

The methods tested are:

* `StreamEntriesHelper#style_classes`
* `StreamEntriesHelper#microformats_classes`
* `StreamEntriesHelper#microformats_h_class`
2017-04-23 06:04:32 +02:00
..
controllers ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities () 2017-04-23 05:21:10 +02:00
fabricators Refresh webfinger () 2017-04-15 03:16:05 +02:00
features Introduce capybara and first feature spec () 2017-04-15 01:21:02 +02:00
fixtures Fix - Fix gif uploads () 2017-04-19 23:21:00 +02:00
helpers Add test coverage to CSS class generation () 2017-04-23 06:04:32 +02:00
javascript Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 () 2017-04-12 17:16:59 +02:00
lib [WIP] Html lang on statuses () 2017-04-22 04:26:25 +02:00
mailers Add digest e-mails 2017-03-04 00:00:48 +01:00
models Admin UI for confirming users () 2017-04-23 04:43:42 +02:00
presenters About page contact email () 2017-04-15 13:33:25 +02:00
requests Restful refactor of accounts/ routes () 2017-04-19 13:52:37 +02:00
routing Restful refactor of accounts/ routes () 2017-04-19 13:52:37 +02:00
services Fix possibility of unrightful webfinger redirect () 2017-04-19 17:28:35 +02:00
support/matchers/model add more tests to models 2017-04-05 00:29:56 +02:00
views Add og:url tags () 2017-04-22 17:29:46 +02:00
rails_helper.rb Silence Devise deprecation warning about TestHelpers () 2017-04-15 13:30:57 +02:00
spec_helper.rb Add more tests for AtomSerializer () 2017-04-18 22:30:17 +02:00