04 Jan, 2013

1 commit


19 Dec, 2012

1 commit


18 Dec, 2012

1 commit


03 Dec, 2012

1 commit


14 Nov, 2012

1 commit


13 Nov, 2012

1 commit


13 Aug, 2012

2 commits


10 Aug, 2012

1 commit


03 Aug, 2012

1 commit


20 Jun, 2012

2 commits

  • 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
    Robb Kidd
     
  • Robb Kidd
     

25 Mar, 2012

1 commit


04 Mar, 2012

1 commit


29 Jan, 2012

1 commit


18 Dec, 2011

1 commit


14 Dec, 2011

1 commit


08 Dec, 2011

1 commit


25 Nov, 2011

1 commit


15 Nov, 2011

1 commit


11 Nov, 2011

1 commit


09 Nov, 2011

1 commit


07 Nov, 2011

1 commit


02 Nov, 2011

1 commit


01 Nov, 2011

1 commit


28 Oct, 2011

1 commit


26 Oct, 2011

2 commits


25 Oct, 2011

1 commit


22 Oct, 2011

1 commit


09 Oct, 2011

1 commit