mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove no digest refs
the digestless special dev behavior is no longer needed
This commit is contained in:
@@ -7,17 +7,10 @@ describe StylesheetsController do
|
||||
StylesheetCache.destroy_all
|
||||
builder = Stylesheet::Manager.new('desktop_rtl', nil)
|
||||
builder.compile
|
||||
builder.ensure_digestless_file
|
||||
|
||||
digest = StylesheetCache.first.digest
|
||||
StylesheetCache.destroy_all
|
||||
|
||||
# digestless
|
||||
get :show, name: 'desktop_rtl'
|
||||
expect(response).to be_success
|
||||
|
||||
StylesheetCache.destroy_all
|
||||
|
||||
get :show, name: "desktop_rtl_#{digest}"
|
||||
expect(response).to be_success
|
||||
|
||||
@@ -28,9 +21,6 @@ describe StylesheetsController do
|
||||
# tmp folder destruction and cached
|
||||
`rm #{Stylesheet::Manager.cache_fullpath}/*`
|
||||
|
||||
get :show, name: 'desktop_rtl'
|
||||
expect(response).to be_success
|
||||
|
||||
get :show, name: "desktop_rtl_#{digest}"
|
||||
expect(response).to be_success
|
||||
|
||||
|
||||
Reference in New Issue
Block a user