savagery 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/savagery/helpers/rails.rb +1 -1
- data/lib/savagery/version.rb +1 -1
- data/spec/helpers/rails_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6ecc9253c077aeedf188d89985def4bc67ee838
|
4
|
+
data.tar.gz: d0527d1504a75ba7cfb0d48e6cbff144a5353c30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afc92868ebbccb398a4b86b64b085ef76efd13ed825dc70d9147a19c4e266e53b6df6c25b5bcd065cd57c4fd58dfb4b098922b2620e6bb1bfb3c124177d7e8c2
|
7
|
+
data.tar.gz: d6648db74ab1399b50da375ab726e81f4694cdf79f81456778aa52b12585ffb89216f345fcc50a965d26fb926f6c26592bb233bd53571252c15b8f7c854d0be7
|
data/lib/savagery/version.rb
CHANGED
data/spec/helpers/rails_spec.rb
CHANGED
@@ -25,11 +25,11 @@ describe Savagery::Helpers::Rails do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
describe "#svg_sprite_use" do
|
28
|
-
let(:request) { double(
|
28
|
+
let(:request) { double(fullpath: "/omg/wtf") }
|
29
29
|
|
30
30
|
before { subject.stub(request: request) }
|
31
31
|
|
32
|
-
it "delegates to helpers with current_url set to request.
|
32
|
+
it "delegates to helpers with current_url set to request.fullpath" do
|
33
33
|
helpers.should_receive(:svg_sprite_use).with("test", current_url: "/omg/wtf")
|
34
34
|
subject.svg_sprite_use("test").should == "<svg_sprite_use />"
|
35
35
|
end
|