gitlab-ce/spec
Patrick Derichs 932a9a0c77 Use NotesFinder to fetch notes on API and Controllers
Fix missing iid query on NotesFinder

Changed parameters of find_noteable, 
so changes across a few files were needed.
MergeRequest also requires iid instead of id query

Make NotesFinder fail with RecordNotFound again

Add specs for target_iid

Using RSpec tablesyntax for target_iid specs

Revert "Using RSpec tablesyntax for target_iid specs"

This reverts commit ba45c7f569a.

Allow find_by! here

Fix variable name

Add readable check

Revert "Add readable check"

This reverts commit 9e3a1a7aa39.

Remove unnecessary assignment

Add required changes for EE

Fix parameter count

Reduce code duplication by extracting a noteable module method

The call to find_noteable was redundant so
multiple files and lines have changed in that
commit to use the newly introduced module
method `noteable`.

Replace casecmp with include check

Add parent_type parameter


Revert "Reduce code duplication by extracting
a noteable module method"

This reverts commit 8c0923babf.

Method is no longer needed

Check whether noteable can be read by user
2019-06-19 10:56:55 +02:00
..
bin Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
config Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
controllers #57815 Password authentication disabled for UltraAuth users 2019-06-18 16:18:14 +00:00
db Backport the EE schema and migrations to CE 2019-06-17 17:09:05 +02:00
dependencies
factories Make KubernetesService readonly 2019-06-18 00:01:56 +00:00
features Move some quick actions feature specs to unit tests 2019-06-18 14:26:48 +00:00
finders Use NotesFinder to fetch notes on API and Controllers 2019-06-19 10:56:55 +02:00
fixtures Ensure duplicate sections collapse 2019-06-17 15:22:40 +01:00
frontend Fix IDE commit to use start_ref 2019-06-17 14:04:35 -05:00
graphql Expose comments on Noteables in GraphQL 2019-06-14 12:36:27 +02:00
haml_lint/linter Move files from lib/haml_lint to haml_lint 2019-05-21 19:49:14 -07:00
helpers Fix missing deployment rockets in monitor dashboard 2019-06-14 07:59:42 +00:00
initializers Store Let's Encrypt private key in settings 2019-05-28 04:47:34 +00:00
javascripts Merge branch '59023-fix-web-ide-creating-branches-off-new-commits' into 'master' 2019-06-18 08:22:06 +00:00
lib Turn on Cat-File cache by default 2019-06-18 13:33:43 +02:00
mailers Omit blocked admins from repository check e-mails 2019-06-12 12:55:25 -07:00
migrations Merge branch '57918-encrypt-feature-flags-tokens' into 'master' 2019-06-18 13:41:44 +00:00
models #57815 Password authentication disabled for UltraAuth users 2019-06-18 16:18:14 +00:00
policies Allow Developer role to delete tags via container registry api 2019-06-17 11:13:03 +00:00
presenters Expose ci_default_git_depth via project API 2019-06-12 09:51:45 +01:00
rack_servers Add metric for measuring PumaWorkerKiller activity 2019-06-10 16:09:40 +00:00
requests Make KubernetesService readonly 2019-06-18 00:01:56 +00:00
routing Remove deprecated group routes 2019-06-14 20:36:19 +03:00
rubocop Merge branch 'qa-extend-click-visit-actions' into 'master' 2019-05-28 16:44:22 +00:00
serializers Make KubernetesService readonly 2019-06-18 00:01:56 +00:00
services Merge branch 'revert-concurrent-pipeline-schedule-creation' into 'master' 2019-06-18 19:00:14 +00:00
sidekiq/cron
support Move some quick actions feature specs to unit tests 2019-06-18 14:26:48 +00:00
tasks Merge branch 'gitaly-version-v1.43.0' into 'master' 2019-05-31 14:16:54 +00:00
uploaders Remove legacy artifact related code 2019-05-31 10:49:17 +07:00
validators Align UrlValidator to validate_url gem implementation. 2019-04-11 06:29:07 +00:00
views Merge branch 'error-pipelines-for-blocked-users' into 'master' 2019-06-17 13:00:34 +00:00
workers Make KubernetesService readonly 2019-06-18 00:01:56 +00:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Revert "Merge branch 'revert-04c3c6dd' into 'master'" 2019-05-22 21:47:32 +02:00