discourse/spec
Daniel Waterworth c7a0baebc5 DEV: Prefabricate more things in topic_spec.rb (#7490)
* Moved let to more appropriate scopes

* Refactored tests

It's confusing when let blocks in a parent context depend on other let
blocks from a child context.

* Moved fabrication to top level

* Removed unnecessary user fabrications

* Added a trust level 2 user at the top level

* Factored out category

* Made test use generic user

* Prefabricate topic

* Cut down redundant users

* Prefabricated more things
2019-05-07 17:05:52 +02:00
..
components FIX: Close topics deleted by users and ensure topic stubs are destroyed. (#7430) 2019-05-07 16:25:52 +03:00
fabricators DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
fixtures DEV: introduce new API to look up dynamic site setting 2019-05-07 11:00:30 +10:00
helpers DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
import_export DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
integration DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
integrity DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
jobs DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
lib DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
mailers DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
models DEV: Prefabricate more things in topic_spec.rb (#7490) 2019-05-07 17:05:52 +02:00
multisite DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
requests DEV: Fix failling test. 2019-05-07 11:19:13 +03:00
serializers DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
services DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
support FIX: don't bump topics when hidden tags are added or removed 2019-05-06 14:52:18 -04:00
tasks DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
views/omniauth_callbacks DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
rails_helper.rb DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00