Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove legacy_rack? tests.

It was mocking and testing a single implementation based on how we think it works, and as we saw, actually caused a false positive.
  • Loading branch information...
commit b6681ca1219eb75d4a8ce47873028f5ef55cec93 1 parent 0a3627f
@moll moll authored
Showing with 0 additions and 12 deletions.
  1. +0 −12 spec/dependencies_spec.rb
View
12 spec/dependencies_spec.rb
@@ -311,17 +311,5 @@ module Rails
end
end
end
-
- describe "legacy_rack?" do
- it "should return false if Rack::Server exists" do
- Rack.stub(:constants).and_return([:Server])
- Jasmine::Dependencies.legacy_rack?.should be_false
- end
- it "should return true if Rack::Server does not exist" do
- Rack.stub(:constants).and_return([])
- Jasmine::Dependencies.legacy_rack?.should be_true
- end
- end
end
-
end
Please sign in to comment.
Something went wrong with that request. Please try again.