We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
reset_configuration
1 parent 2d8c66c commit 8801a1cCopy full SHA for 8801a1c
spec/finds_asset_paths_spec.rb
@@ -4,6 +4,10 @@
4
require "inline_svg"
5
6
describe InlineSvg::FindsAssetPaths do
7
+ after do
8
+ InlineSvg.reset_configuration!
9
+ end
10
+
11
context "when sprockets finder returns an object which supports only the pathname method" do
12
it "returns fully qualified file paths from Sprockets" do
13
sprockets = double('SprocketsDouble')
spec/inline_svg_spec.rb
@@ -21,6 +21,10 @@ def self.named(filename); end
21
22
describe InlineSvg do
23
describe "configuration" do
24
25
26
27
28
context "when a block is not given" do
29
it "complains" do
30
expect do
0 commit comments