mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 13:43:16 +08:00
36a9d4df3a
Why this change? In the `invites_controller_spec.rb` file, we had several tests that were checking for assets path in the response's body to determine which layout has been rendered. However, those test fails if `bin/ember-cli --build` has been run locally. What does this change do? Instead of checking for asset paths to determine the layout that has been rendered, this change relies on the fact that the `no_ember` layout has a `no-ember` class on the `body` element. This is more deterministic as compared to relying on the different asset paths that are rendered in the response. |
||
---|---|---|
.. | ||
fabricators | ||
fixtures | ||
helpers | ||
import_export | ||
initializers | ||
integration | ||
integrity | ||
jobs | ||
lib | ||
mailers | ||
migrations | ||
models | ||
multisite | ||
requests | ||
script/import_scripts | ||
serializers | ||
services | ||
support | ||
system | ||
tasks | ||
views | ||
rails_helper.rb | ||
regenerate_swagger_docs | ||
swagger_helper.rb |