mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Add appropriate classes to html
element including lang
(#12245)
This was not working in the Ember CLI version of the application.
This commit is contained in:
parent
3019b6d8d2
commit
c0624d45db
3 changed files with 9 additions and 0 deletions
|
@ -41,6 +41,9 @@ describe BootstrapController do
|
|||
expect(preloaded['siteSettings']).to be_present
|
||||
expect(preloaded['currentUser']).to be_blank
|
||||
expect(preloaded['topicTrackingStates']).to be_blank
|
||||
|
||||
expect(bootstrap['html_classes']).to eq("desktop-view not-mobile-device text-size-normal anon")
|
||||
expect(bootstrap['html_lang']).to eq('en')
|
||||
end
|
||||
|
||||
it "returns user data when authenticated" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue