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-16 09:15:20 +0100 |
commit | f9bb888063e1d6250cde85e225992da8218e81af (patch) | |
tree | 02d17f97e217db3e8647c30e8db0fe4d1b908009 /spec/controllers/track_controller_spec.rb | |
parent | d0d0880aadfe477db75739cf08b51443c43c7bbd (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 |