aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/track_controller_spec.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-07-12 11:49:58 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-07-12 11:49:58 +0100
commitb514aecf08384f3839db5cdb2274d3748a4402a2 (patch)
tree5354df8cce23f043bc4cbfac0cdcfc24989550a4 /spec/controllers/track_controller_spec.rb
parent0d630ab2c87d925d27879c1cc0db55b0286e46d6 (diff)
parentd5ae493074fa3b71ba517ce34525402f5e59eff0 (diff)
merge IZ/Kosovo fork and refactor
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