aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/track_controller_spec.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-05-16 12:29:38 +0000
committerfrancis <francis>2008-05-16 12:29:38 +0000
commit567643e4061be5abfe2787bd668be171ff2da6fe (patch)
tree86c09f77fa9e41c6b48b6782b5948eb30dbf2665 /spec/controllers/track_controller_spec.rb
parent05cb653010ccba721206dbb40c92f38f35e438c4 (diff)
Highlight search terms in emails.
Diffstat (limited to 'spec/controllers/track_controller_spec.rb')
-rw-r--r--spec/controllers/track_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb
index bf3c952c7..39542cb63 100644
--- a/spec/controllers/track_controller_spec.rb
+++ b/spec/controllers/track_controller_spec.rb
@@ -24,12 +24,12 @@ describe TrackController, "when making a new track on a request" do
end
it "should make track and redirect if you are logged in " do
- TrackThing.count.should == 1
+ TrackThing.count.should == 2
session[:user_id] = users(:bob_smith_user).id
post :track_request, :url_title => info_requests(:fancy_dog_request).url_title,
:track_thing => { :track_medium => "email_daily" },
:submitted_track => 1
- TrackThing.count.should == 2
+ TrackThing.count.should == 3
response.should redirect_to(:controller => 'request', :action => 'show', :url_title => info_requests(:fancy_dog_request).url_title)
end