aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/track_controller_spec.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-07-11 11:58:32 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-07-11 11:58:32 +0100
commit5132e9aa7e161aad91544340703e8e3ba6aea8f3 (patch)
tree9b5b66938029bad167614c5dcb19b208b671c929 /spec/controllers/track_controller_spec.rb
parent3897c8528cac11584f4fdbd95cf1649e36eea6bf (diff)
changes to get tests to pass with IZ fork and new routing-filter gem
Diffstat (limited to 'spec/controllers/track_controller_spec.rb')
-rw-r--r--spec/controllers/track_controller_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb
index 8076d40c2..0a8919268 100644
--- a/spec/controllers/track_controller_spec.rb
+++ b/spec/controllers/track_controller_spec.rb
@@ -43,6 +43,8 @@ describe TrackController, "when sending alerts for a track" do
end
it "should send alerts" do
+ # Don't do clever locale-insertion-unto-URL stuff
+ ActionController::Routing::Routes.filters.clear
# set the time the comment event happened at to within the last week
ire = info_request_events(:silly_comment_event)
ire.created_at = Time.now - 3.days