dribble 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,19 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '../../../spec_helper')
2
-
3
- describe "Object Extensions" do
4
-
5
- before(:all) do
6
- @namespace = 'dribble'
7
- @key = 'name'
8
- @value = 'simplebits'
9
- end
10
-
11
- it "should create a key value like: name=simplebits" do
12
- @value.to_query(@key).should == 'name=simplebits'
13
- end
14
-
15
- it "should send back a key value string with namespace like: dribble[name]=simplebits, but encoded" do
16
- @value.to_query("#{@namespace}[#{@key}]").should == 'dribble%5Bname%5D=simplebits'
17
- end
18
-
19
- end
data/spec/rcov.opts DELETED
@@ -1,4 +0,0 @@
1
- --sort coverage
2
- --profile
3
- --rails
4
- --exclue /gems/,/Library/,spec
@@ -1,17 +0,0 @@
1
- module Yajl
2
- class HttpStream
3
- class << self
4
-
5
- def fake_get(uri, opts={}, &block)
6
- yajl = ::Yajl::Parser.new(:symbolize_keys => true)
7
- case uri.to_s
8
- when condition
9
- else
10
- raise HttpError.new("TEST: Unknown uri: #{uri.to_s}")
11
- end
12
- end
13
- alias_method :get, :fake_get
14
-
15
- end
16
- end
17
- end