Skip to content

Commit 8801a1c

Browse files
committed
Add missing reset_configuration
1 parent 2d8c66c commit 8801a1c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

spec/finds_asset_paths_spec.rb

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
require "inline_svg"
55

66
describe InlineSvg::FindsAssetPaths do
7+
after do
8+
InlineSvg.reset_configuration!
9+
end
10+
711
context "when sprockets finder returns an object which supports only the pathname method" do
812
it "returns fully qualified file paths from Sprockets" do
913
sprockets = double('SprocketsDouble')

spec/inline_svg_spec.rb

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ def self.named(filename); end
2121

2222
describe InlineSvg do
2323
describe "configuration" do
24+
after do
25+
InlineSvg.reset_configuration!
26+
end
27+
2428
context "when a block is not given" do
2529
it "complains" do
2630
expect do

0 commit comments

Comments
 (0)