1. 26 Sep, 2012 1 commit
  2. 04 Sep, 2012 2 commits
  3. 02 Sep, 2012 1 commit
  4. 29 Aug, 2012 2 commits
  5. 28 Aug, 2012 1 commit
  6. 25 Aug, 2012 2 commits
    • Robert Speicher's avatar
      Add a simple `api` method to ApiHelpers, replacing api_prefix · b2a5344a
      Robert Speicher authored
      See docs for usage
      b2a5344a
    • Robert Speicher's avatar
      Cleanup spec/support folder and spec/spec_helper · fba174e9
      Robert Speicher authored
      Changes:
      * Move spec/monkeypatch to spec/support
      * Remove unused support/shared_examples
      * Move support/api to support/api_helpers to match module name
      * Move support/login to support/login_helpers to match module name
      * Move API specs to requests/api (convention over configuration)
      * Remove unused support/js_patch
      * Simplify login_as helper
      * Move DatabaseCleaner stuff to its own support file
      * Remove unnecessary configuration and requires from spec_helper
      fba174e9
  7. 23 Aug, 2012 1 commit
  8. 19 Aug, 2012 1 commit
  9. 13 Aug, 2012 1 commit
  10. 10 Aug, 2012 1 commit
  11. 28 Jun, 2012 1 commit
  12. 20 Jun, 2012 1 commit
    • Robb Kidd's avatar
      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
      dfb5da9d
  13. 16 May, 2012 1 commit
  14. 14 Dec, 2011 1 commit
    • Ariejan de Vroom's avatar
      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.
      edab46e9
  15. 16 Nov, 2011 1 commit
  16. 26 Oct, 2011 1 commit
    • Nihad Abbasov's avatar
      clean-up code · d62200ca
      Nihad Abbasov authored
        * Remove trailing whitespace
        * Converts hard-tabs into two-space soft-tabs
        * Remove consecutive blank lines
      d62200ca
  17. 13 Oct, 2011 2 commits
  18. 08 Oct, 2011 1 commit