27 Jun, 2012
1 commit
26 Jun, 2012
1 commit
24 Jun, 2012
7 commits
-
…thub.com/robbkidd/gitlabhq into robbkidd-separate_user_and_issue_observer_from_mail_observer
23 Jun, 2012
2 commits
22 Jun, 2012
10 commits
-
load assets group to allow lazy compilation in production
-
Downgrade Raphael.js
21 Jun, 2012
10 commits
20 Jun, 2012
9 commits
-
Get rid of deprecated link_to_function
-
:issue snuck back in during rebasing.
-
Must have snuck in during one of the multiple rebases while observers were being refactored.
-
It helps to actually deliver messages.
-
Used the built-in observer enable/disable feature in ActiveModel[1]. ActiveRecord::Base includes ActiveModel::Observing which provides this behavior. Simple wraps to enable the observer under test were added to the specs for: ActivityObserver, IssueObserver, Admin::Users and Issues. The spec for Project.last_activity was refactored to separate the tests for #last_activity and #last_activity_date. Each had doubles added to isolate the spec from the hidden dependency on the ActivityObserver action to create an Event for the project when an Issue is created. This ActivityObserver behavior is already tested by its spec. [1] http://api.rubyonrails.org/classes/ActiveModel/ObserverArray.html