mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: don't mess with fixtures when running the specs
This commit is contained in:
@ -1113,7 +1113,7 @@ describe UsersController do
|
||||
|
||||
let!(:user) { log_in }
|
||||
|
||||
let(:logo) { File.new("#{Rails.root}/spec/fixtures/images/logo.png") }
|
||||
let(:logo) { file_from_fixtures("logo.png") }
|
||||
|
||||
let(:user_image) do
|
||||
ActionDispatch::Http::UploadedFile.new({ filename: 'logo.png', tempfile: logo })
|
||||
|
Reference in New Issue
Block a user