httpspec_simple 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/httpspec_simple.rb +2 -2
- data/lib/httpspec_simple/version.rb +1 -1
- 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: 585e9cc412a1708068db9b8f062324bcf56cd536
|
4
|
+
data.tar.gz: 62b9ab4bd1194ba6d539cdd03514fe5f197a5a8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b82cd3e61bf8a158df92f7d32254cbae84452d5905d2ad1257ad008b533c9937a7fe094421bd3fca753ea241b6480a0ddc33d293a4f8445f17cec29686e8948
|
7
|
+
data.tar.gz: cc3d446a429b173c48e0abc6f21b623fbe8bb72e727444de8a3a745af2b8d0ff6f64d602b4a2eae94541c175c2956d6dd74c58e9d35536b4be5025cfe50893cb
|
data/lib/httpspec_simple.rb
CHANGED
@@ -9,6 +9,6 @@ end
|
|
9
9
|
def base_url url
|
10
10
|
RSpec.configuration.base_url = url
|
11
11
|
end
|
12
|
-
def request path
|
13
|
-
HttpspecSimple::Request.new("#{RSpec.configuration.base_url}#{path}")
|
12
|
+
def request path, opt={}
|
13
|
+
HttpspecSimple::Request.new("#{RSpec.configuration.base_url}#{path}", opt)
|
14
14
|
end
|