remove the directory after spec run
Dieser Commit ist enthalten in:
Ursprung
77dd879f80
Commit
cdb9ec6c3e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -36,7 +36,7 @@ describe "Sprockets: require_tree_discourse directive" do
|
||||||
File.new(path, 'w')
|
File.new(path, 'w')
|
||||||
File.write(path, file_contents)
|
File.write(path, file_contents)
|
||||||
yield block if block_given?
|
yield block if block_given?
|
||||||
File.delete(path)
|
FileUtils.rm_r(dir)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "includes assets from the discourse core" do
|
it "includes assets from the discourse core" do
|
||||||
|
|
Laden …
In neuem Issue referenzieren