Skip to content

Commit

Permalink
Removed use of webrat matchers, the rspec matcher does it for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bemurphy committed Mar 22, 2010
1 parent 27372f0 commit a9440ac
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion spec/daily_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion spec/hourly_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion spec/interval_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion spec/limiter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require "spec"
require "rack/test"
require "rack/throttle"
require "webrat"

def example_target_app
@target_app ||= mock("Example Rack App")
Expand Down

0 comments on commit a9440ac

Please sign in to comment.