diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-05-30 13:52:32 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-05-30 13:52:32 +0100 |
commit | 4387c6a45d12b9ffab398fcba28deb5669ada4f0 (patch) | |
tree | d263d4d7ca778051d80072eb50e0c72f4481d1dd /spec/controllers/track_controller_spec.rb | |
parent | fe09c8da70967ea591a3b01d7a70fc80490f3d8f (diff) | |
parent | 22d0a41bd63fca4b3b4d69018c6fa6d52010f42f (diff) |
Merge branch 'feature/follow-buttons' into develop
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 |