aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/track_controller_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-06-03 10:45:37 +0100
committerLouise Crow <louise.crow@gmail.com>2013-06-03 10:45:37 +0100
commite30a8623a1706d3bad4476198085547d8f47cc88 (patch)
treea2455832a97f4379ead91ca86dc2185c5de3bf5b /spec/controllers/track_controller_spec.rb
parentda8c525eda36527cc4820fdf27873bb8426e2ffb (diff)
parent2c41249670f96b2eb29505108d056af5d6e1cb0d (diff)
Merge branch 'release/0.11' of ssh://git.mysociety.org/data/git/public/alaveteli into release/0.110.11
Diffstat (limited to 'spec/controllers/track_controller_spec.rb')
-rw-r--r--spec/controllers/track_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb
index e9501b1ed..5a766b1e1 100644
--- a/spec/controllers/track_controller_spec.rb
+++ b/spec/controllers/track_controller_spec.rb
@@ -144,6 +144,7 @@ describe TrackController, "when viewing RSS feed for a track" do
get :track_request, :feed => 'feed', :url_title => track_thing.info_request.url_title
response.should render_template('track/atom_feed')
+ response.content_type.should == 'application/atom+xml'
# XXX should check it is an atom.builder type being rendered, not sure how to
assigns[:xapian_object].matches_estimated.should == 3