1. 25 Nov, 2012 1 commit
  2. 24 Nov, 2012 1 commit
  3. 23 Nov, 2012 1 commit
  4. 22 Nov, 2012 1 commit
  5. 20 Nov, 2012 1 commit
  6. 19 Nov, 2012 1 commit
  7. 13 Nov, 2012 1 commit
  8. 17 Oct, 2012 2 commits
  9. 02 Oct, 2012 1 commit
  10. 26 Sep, 2012 2 commits
  11. 05 Sep, 2012 1 commit
  12. 02 Sep, 2012 1 commit
  13. 30 Aug, 2012 1 commit
  14. 29 Aug, 2012 3 commits
  15. 21 Aug, 2012 1 commit
  16. 10 Aug, 2012 1 commit
  17. 31 Jul, 2012 1 commit
  18. 18 Jul, 2012 1 commit
  19. 02 Jul, 2012 2 commits
  20. 26 Jun, 2012 1 commit
  21. 20 Jun, 2012 1 commit
    • Robb Kidd's avatar
      Disable observers in specs. Enable only when observer is under test. · a18e4e43dce1
      Robb Kidd authored
      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
      a18e4e43dce1
  22. 04 Apr, 2012 1 commit
  23. 15 Mar, 2012 1 commit
  24. 13 Mar, 2012 1 commit
  25. 12 Mar, 2012 2 commits
  26. 07 Mar, 2012 1 commit
  27. 05 Mar, 2012 1 commit
  28. 04 Mar, 2012 1 commit
  29. 01 Mar, 2012 1 commit
  30. 29 Feb, 2012 1 commit
  31. 28 Feb, 2012 3 commits
  32. 15 Feb, 2012 1 commit