sniffles 0.1.0 → 0.1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,20 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
-
3
- describe Sniffles::Utils do
4
- describe "#absolute_uri" do
5
- context "success" do
6
- it "should join base host with relative path" do
7
- subject.absolute_uri("http://www.google.com","/search").should eq "http://www.google.com/search"
8
- end
9
-
10
-
11
- it "should join host w/ directory and relative path" do
12
- subject.absolute_uri("http://www.google.com/search/", "/query").should eq "http://www.google.com/query"
13
- end
14
-
15
- it "should join host w/ directory and path" do
16
- subject.absolute_uri("http://www.google.com/search/", "query").should eq "http://www.google.com/search/query"
17
- end
18
- end
19
- end
20
- end