aboutsummaryrefslogtreecommitdiff
path: root/spec/unit/zero/response/header_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/zero/response/header_spec.rb')
-rw-r--r--spec/unit/zero/response/header_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/unit/zero/response/header_spec.rb b/spec/unit/zero/response/header_spec.rb
new file mode 100644
index 0000000..e5d013b
--- /dev/null
+++ b/spec/unit/zero/response/header_spec.rb
@@ -0,0 +1,12 @@
+# encoding: UTF-8
+require 'spec_helper'
+
+describe Zero::Response do
+ subject { Zero::Response.new() }
+
+ describe '#header' do
+ it "must return an empty hash, if no header was set" do
+ subject.header.should eq({})
+ end
+ end
+end