aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/unit/request/client_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/unit/request/client_spec.rb b/spec/unit/request/client_spec.rb
new file mode 100644
index 0000000..5ccd155
--- /dev/null
+++ b/spec/unit/request/client_spec.rb
@@ -0,0 +1,8 @@
+require 'spec_helper'
+
+describe Zero::Request, '#client' do
+ subject { Zero::Request.new(env) }
+ let(:env) { EnvGenerator.get('/foo') }
+
+ its(:client) { should be_an_instance_of(Zero::Request::Client) }
+end