BigW Consortium Gitlab

  1. 20 Jun, 2012 1 commit
    • Disable observers in specs. Enable only when observer is under test. · dfb5da9d
      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
  2. 04 Apr, 2012 1 commit
  3. 15 Mar, 2012 1 commit
  4. 13 Mar, 2012 1 commit
  5. 12 Mar, 2012 2 commits
  6. 07 Mar, 2012 1 commit
  7. 05 Mar, 2012 1 commit
  8. 04 Mar, 2012 1 commit
  9. 01 Mar, 2012 1 commit
  10. 29 Feb, 2012 1 commit
  11. 28 Feb, 2012 3 commits
  12. 15 Feb, 2012 1 commit
  13. 26 Dec, 2011 1 commit
  14. 18 Dec, 2011 1 commit
  15. 15 Dec, 2011 1 commit
    • Added specs for special cases · 7ffb8fc6
      Ariejan de Vroom authored
      We don't execute web hooks when:
       * You create a new branch. Make sure you first create the branch, and then push any commits. This is the way Github works, so its expected behavior.
       * When tags are pushed.
  16. 14 Dec, 2011 1 commit
    • Added web hooks functionality · edab46e9
      Ariejan de Vroom authored
      This commit includes:
      
       * Projects can have zero or more WebHooks.
       * The PostReceive job will ask a project to execute any web hooks defined for that project.
       * WebHook has a URL, we post Github-compatible JSON to that URL.
       * Failure to execute a WebHook will be silently ignored.
  17. 05 Dec, 2011 1 commit
  18. 15 Nov, 2011 1 commit
  19. 02 Nov, 2011 1 commit
  20. 26 Oct, 2011 1 commit
    • clean-up code · d62200ca
      Nihad Abbasov authored
        * Remove trailing whitespace
        * Converts hard-tabs into two-space soft-tabs
        * Remove consecutive blank lines
  21. 22 Oct, 2011 2 commits
  22. 21 Oct, 2011 1 commit
  23. 13 Oct, 2011 2 commits
  24. 09 Oct, 2011 2 commits
  25. 08 Oct, 2011 1 commit