0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00

minor formatting

Dieser Commit ist enthalten in:
Faizaan Gagan 2021-05-03 03:43:47 +05:30
Ursprung 13eabe0695
Commit 77dd879f80

Datei anzeigen

@ -4,7 +4,7 @@ require_relative '../plugin_helper'
describe "Sprockets: require_tree_discourse directive" do describe "Sprockets: require_tree_discourse directive" do
let(:discourse_asset_path) { let(:discourse_asset_path) {
"#{Rails.root}/app/assets/javascripts/" "#{Rails.root}/app/assets/javascripts/"
} }
let(:fixture_asset_path) { let(:fixture_asset_path) {
"#{Rails.root}/plugins/discourse-custom-wizard/spec/fixtures/sprockets/" "#{Rails.root}/plugins/discourse-custom-wizard/spec/fixtures/sprockets/"
@ -13,9 +13,9 @@ describe "Sprockets: require_tree_discourse directive" do
"console.log('hello')" "console.log('hello')"
} }
let(:resolved_file_contents) { let(:resolved_file_contents) {
File.read( File.read(
"#{Rails.root}/plugins/discourse-custom-wizard/spec/fixtures/sprockets/resolved_js_file_contents.txt" "#{Rails.root}/plugins/discourse-custom-wizard/spec/fixtures/sprockets/resolved_js_file_contents.txt"
) )
} }
before do before do