1. 13 Feb, 2019 1 commit
    • Jarka Košanová's avatar
      Check issue milestone availability · 98df4053
      Jarka Košanová authored
      Add project when creating milestone in specs
      
      We validate milestone is from the same
      project/parent group as issuable ->
      we need to set project in specs correctly
      
      Improve methods names and specs organization
      98df4053
  2. 24 Jan, 2019 1 commit
  3. 14 Jan, 2019 1 commit
  4. 10 Jan, 2019 1 commit
  5. 19 Dec, 2018 1 commit
    • blackst0ne's avatar
      Update specs to rails5 format · b44a2c80
      blackst0ne authored
      Updates specs to use new rails5 format.
      
      The old format:
      `get :show, { some: params }, { some: headers }`
      
      The new format:
      `get :show, params: { some: params }, headers: { some: headers }`
      b44a2c80
  6. 23 Nov, 2018 1 commit
    • Jacopo's avatar
      Filter by `None`/`Any` for labels in issues/mrs API · c068ac67
      Jacopo authored
      By using the parameters `?labels=None|Any` the user can filter
      issues/mrs from the API that has `none/any` label.
      
      Affected endpoints are:
      
      - /api/issues
      - /api/projects/:id/issues
      - /api/groups/:id/issues
      - /api/merge_requests
      - /api/projects/:id/merge_requests
      - /api/groups/:id/merge_requests
      c068ac67
  7. 01 Nov, 2018 4 commits
  8. 26 Oct, 2018 2 commits
  9. 03 Oct, 2018 1 commit
  10. 01 Oct, 2018 1 commit
  11. 22 Aug, 2018 1 commit
  12. 01 Aug, 2018 1 commit
  13. 11 Jul, 2018 1 commit
  14. 27 Jun, 2018 1 commit
  15. 05 Jun, 2018 2 commits
    • Stan Hu's avatar
      Remove N+1 query for author in issues API · c26cbfcd
      Stan Hu authored
      This was being masked by the statement cache because only one author was used
      per issue in the test..
      
      Also adds support for an Rspec matcher `exceed_all_query_limit`.
      c26cbfcd
    • Stan Hu's avatar
      Remove N+1 query for author in issues API · cbc20d2b
      Stan Hu authored
      This was being masked by the statement cache because only one author was used
      per issue in the test..
      
      Also adds support for an Rspec matcher `exceed_all_query_limit`.
      cbc20d2b
  16. 01 Jun, 2018 1 commit
  17. 21 May, 2018 1 commit
  18. 15 May, 2018 1 commit
  19. 05 Apr, 2018 1 commit
  20. 05 Mar, 2018 1 commit
  21. 26 Feb, 2018 1 commit
  22. 19 Feb, 2018 1 commit
  23. 16 Feb, 2018 1 commit
    • Nick Thomas's avatar
      Fix order dependencies in some specs · 17d842db
      Nick Thomas authored
      Our automatically-generated project paths are of the form project<N>. If a spec
      manually specifies a project path of that form, it may conflict with the
      automatically-generated paths in some circumstances.
      17d842db
  24. 26 Jan, 2018 1 commit
  25. 15 Jan, 2018 1 commit
  26. 05 Jan, 2018 1 commit
  27. 22 Dec, 2017 1 commit
  28. 08 Dec, 2017 1 commit
    • Sean McGivern's avatar
      Merge branch 'issue_30663' into 'security-10-2' · c59ae547
      Sean McGivern authored
      Prevent creating issues through API without having permissions
      
      See merge request gitlab/gitlabhq!2225
      
      (cherry picked from commit c298bbaa88883343dc9cbbb6abec0808fb3b546c)
      
      915b97c5 Prevent creating issues through API without having permissions
      c59ae547
  29. 20 Oct, 2017 1 commit
  30. 16 Sep, 2017 1 commit
  31. 05 Sep, 2017 1 commit
  32. 29 Aug, 2017 2 commits
  33. 28 Aug, 2017 1 commit
  34. 03 Aug, 2017 1 commit
    • Lin Jen-Shin's avatar
      Don't include EmailHelpers manually, pick with rspec · bb5f79d4
      Lin Jen-Shin authored
      `:mailer` is needed to pick it easily, while
      `type: :mailer` is needed for picking it automatically for
      tests located in spec/mailers/*_spec.rb
      
      It's a bit complicated in spec/services/notification_service_spec.rb
      but we'll leave it alone for now.
      bb5f79d4