spec/controller_spec.rb in rack_dav-0.5.1 vs spec/controller_spec.rb in rack_dav-0.5.2
- old
+ new
@@ -24,16 +24,10 @@
map { |k,v| [k.downcase, v] }.flatten]
end
end
-if ENV['TRAVIS']
- RSpec.configure do |c|
- c.filter_run_excluding :has_xattr_support => true
- end
-end
-
describe RackDAV::Handler do
DOC_ROOT = File.expand_path(File.dirname(__FILE__) + '/htdocs')
METHODS = %w(GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE OPTIONS HEAD LOCK UNLOCK)
CLASS_2 = METHODS
@@ -75,10 +69,10 @@
it "succeeds" do
response.should be_ok
end
it "sets a compliant rack response" do
- body = response.original_response.body
+ body = response.original_response
body.should be_a(Array)
expect(body.size).to eq(1)
end
it "prints the lockdiscovery" do