aboutsummaryrefslogtreecommitdiff
path: root/spec/unit/request/accept/each_spec.rb
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2012-11-16 13:58:42 +0100
committerGibheer <gibheer@gmail.com>2012-11-16 18:13:07 +0100
commita7d3106df2840b4173d762b8cc8c35d6bfbb7065 (patch)
treee13ba382616efb149bf9600da66f33363f5d5158 /spec/unit/request/accept/each_spec.rb
parent0986ca27f52d709a7489a106571efffcbee4e7fd (diff)
added specs for new type
Diffstat (limited to 'spec/unit/request/accept/each_spec.rb')
-rw-r--r--spec/unit/request/accept/each_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/unit/request/accept/each_spec.rb b/spec/unit/request/accept/each_spec.rb
deleted file mode 100644
index 9452be3..0000000
--- a/spec/unit/request/accept/each_spec.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-require 'spec_helper'
-
-describe Zero::Request::Accept, '#each' do
- subject { Zero::Request::Accept.new(types) }
- let(:html) { 'text/html' }
- let(:json) { 'application/json' }
- let(:types) { [html, json].join(',') }
-
- specify { expect {|b| subject.each(&b) }.to yield_successive_args(html, json) }
-end