mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-27 03:26:21 +08:00
This is already used for more than just themes, and we plan to extend its usage even further
12 lines
357 B
Ruby
Vendored
12 lines
357 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
RSpec.describe "assets:precompile" do
|
|
describe "assets:precompile:asset_processor" do
|
|
it "compiles the js processor" do
|
|
path = Rake::Task["assets:precompile:asset_processor"].actions.first.call
|
|
|
|
expect(path).to end_with("tmp/asset-processor.js")
|
|
expect(File.exist?(path)).to eq(true)
|
|
end
|
|
end
|
|
end
|