diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-05-16 09:15:20 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-05-30 13:50:38 +0100 |
commit | 75f17abf50fed7beddd2554086fae74ca4054e40 (patch) | |
tree | 24cef8d91eeae22574a326afe9e63bd7bca70c85 /spec/controllers/track_controller_spec.rb | |
parent | 8d1cd85bcb37f11026c3e850cee21a818523dae3 (diff) |
Fix tests that broke as result of new flag to control if email alerts should be sent
Diffstat (limited to 'spec/controllers/track_controller_spec.rb')
-rw-r--r-- | spec/controllers/track_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb index bc7cfce64..1d38b3055 100644 --- a/spec/controllers/track_controller_spec.rb +++ b/spec/controllers/track_controller_spec.rb @@ -16,6 +16,8 @@ describe TrackController, "when making a new track on a request" do @user = mock_model(User) User.stub!(:find).and_return(@user) @user.stub!(:locale).and_return("en") + @user.stub!(:receive_email_alerts).and_return(true) + @user.stub!(:url_name).and_return("bob") end it "should require login when making new track" do |