diff options
Diffstat (limited to 'spec/unit/request/patch_spec.rb')
-rw-r--r-- | spec/unit/request/patch_spec.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/unit/request/patch_spec.rb b/spec/unit/request/patch_spec.rb deleted file mode 100644 index ae0d2db..0000000 --- a/spec/unit/request/patch_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'spec_helper' - -describe Zero::Request, '#patch?' do - subject { Zero::Request.new(env) } - - context "with a patch request" do - let(:env) { EnvGenerator.patch('/foo') } - its(:patch?) { should be(true) } - end - - context "with a get request" do - let(:env) { EnvGenerator.get('/foo') } - its(:patch?) { should be(false) } - end -end |