mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
DEV: Fix constant redefinition warnings when running specs (#29837)
Don't load rake files over and over again when running specs.
This commit is contained in:

committed by
GitHub

parent
abfd065ff0
commit
6e1aeb1f50
@ -3,8 +3,6 @@
|
||||
RSpec.describe ThemesInstallTask do
|
||||
fab!(:admin)
|
||||
|
||||
before { Discourse::Application.load_tasks }
|
||||
|
||||
describe ".new" do
|
||||
THEME_NAME = "awesome theme"
|
||||
|
||||
|
Reference in New Issue
Block a user