Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed use of webrat matchers, the rspec matcher does it for now

  • Loading branch information...
commit a9440ac70ffd20e8f73828a21218a644978cbc4c 1 parent 27372f0
@bemurphy bemurphy authored
View
1  spec/daily_spec.rb
@@ -7,7 +7,6 @@ def app
describe Rack::Throttle::Daily do
include Rack::Test::Methods
- include Webrat::Matchers
it "should be allowed if not seen this day" do
get "/foo"
View
1  spec/hourly_spec.rb
@@ -7,7 +7,6 @@ def app
describe Rack::Throttle::Hourly do
include Rack::Test::Methods
- include Webrat::Matchers
it "should be allowed if not seen this hour" do
get "/foo"
View
1  spec/interval_spec.rb
@@ -7,7 +7,6 @@ def app
describe Rack::Throttle::Interval do
include Rack::Test::Methods
- include Webrat::Matchers
it "should allow the request if the source has not been seen" do
get "/foo"
View
1  spec/limiter_spec.rb
@@ -7,7 +7,6 @@ def app
describe Rack::Throttle::Limiter do
include Rack::Test::Methods
- include Webrat::Matchers
describe "basic calling" do
it "should return the example app" do
View
1  spec/spec_helper.rb
@@ -1,7 +1,6 @@
require "spec"
require "rack/test"
require "rack/throttle"
-require "webrat"
def example_target_app
@target_app ||= mock("Example Rack App")
Please sign in to comment.
Something went wrong with that request. Please try again.