discourse/spec/support
Robin Ward d1d9a4f128 Add new `run_jobs_synchronously!` helper for tests
Previously if you wanted to have jobs execute in test mode, you'd have
to do `SiteSetting.queue_jobs = false`, because the opposite of queue
is to execute.

I found this very confusing, so I created a test helper called
`run_jobs_synchronously!` which is much more clear about what it does.
2019-03-11 16:58:35 -04:00
..
versioning Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
diagnostics_helper.rb Improve `MessageBus.track_publish` to allow filter by channel. 2017-10-02 11:34:57 +08:00
discourse_event_helper.rb Remove stubs on DiscourseEvent in tests. 2017-06-01 16:21:00 +09:00
fake_logger.rb FIX: logspam due to 404s on CSS files 2019-02-14 17:58:16 +11:00
helpers.rb Add new `run_jobs_synchronously!` helper for tests 2019-03-11 16:58:35 -04:00
integration_helpers.rb DEV: Assert for 200 response code to avoid changing magic helper in the future. 2018-06-07 16:11:09 +08:00
match_html_matcher.rb Fix warnings for rspec 3 2015-04-25 21:02:06 -04:00
rate_limit_matcher.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
shared_examples_for_stats_cacheable.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
site_settings_helpers.rb DEV: Stablize the multisite tests. 2019-01-16 10:29:36 +08:00
time_matcher.rb Fix warnings for rspec 3 2015-04-25 21:02:06 -04:00