diff options
Diffstat (limited to 'spec/unit/request/accept/encoding_spec.rb')
-rw-r--r-- | spec/unit/request/accept/encoding_spec.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/unit/request/accept/encoding_spec.rb b/spec/unit/request/accept/encoding_spec.rb deleted file mode 100644 index 9353cd1..0000000 --- a/spec/unit/request/accept/encoding_spec.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'spec_helper' - -describe Zero::Request::Accept, '#encoding' do - subject { Zero::Request::Accept.new(env) } - let(:encoding) { 'en_US' } - let(:env) { EnvGenerator.get('/foo', {'HTTP_ACCEPT_ENCODING' => encoding}) } - - it 'sets the encoding to the given value' do - subject.encoding.preferred.should eq('en_US') - end -end |