gitlab-org--gitlab-foss/spec
Rémy Coutable 8aed815b6e
Avoid a TypeError when initializing MergeRequest JS class with no arg
Without this sane default you would get the following error when you
tried to instantiate a new MergeRequest object with no argument (i.e.
`new MergeRequest();`):

TypeError: undefined is not an object (evaluating 'this.opts.action')

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-15 10:33:36 +02:00
..
config Enable the Rubocop DeprecatedClassMethods cop 2016-05-08 15:33:34 -06:00
controllers UI and copywriting improvements 2016-06-14 13:18:14 +02:00
factories Remove deprecated issues_tracker and issues_tracker_id from project 2016-06-13 18:13:55 -03:00
features Merge branch 'manual-todos-issuable-sidebar' into 'master' 2016-06-14 22:01:43 +00:00
finders Fix notes on confidential issues through JSON to users without access 2016-06-14 17:51:17 -03:00
fixtures Set target="_blank" for external links 2016-06-08 13:07:20 -05:00
helpers UI and copywriting improvements 2016-06-14 13:18:14 +02:00
initializers Add tests for setting trusted_proxies 2016-05-04 15:49:39 -07:00
javascripts Avoid a TypeError when initializing MergeRequest JS class with no arg 2016-06-15 10:33:36 +02:00
lib Filter out classes without names in the sampler 2016-06-14 18:09:06 +02:00
mailers UI and copywriting improvements 2016-06-14 13:18:14 +02:00
models Merge branch 'master' into 13948-access-request-to-projects-and-groups 2016-06-14 16:23:16 +02:00
requests Merge remote-tracking branch 'origin/master' into artifacts-expire-date 2016-06-14 11:38:44 +02:00
routing Merge branch 'health-check-route' 2016-05-12 16:39:03 -05:00
services Merge branch 'manual-todos-issuable-sidebar' into 'master' 2016-06-14 22:01:43 +00:00
support Merge branch 'make-omniauth-tests-to-not-modify-global-state' into 'master' 2016-06-09 09:55:14 +00:00
tasks/gitlab Switch the gitlab:db:configure task to use tables.any? instead of looking specifically for the schema_migrations table 2016-05-25 10:47:09 -07:00
views
workers Merge branch 'dont-drop-stuck-builds' into 'master' 2016-06-15 02:54:19 +00:00
factories_spec.rb Enable RSpec/NotToNot cop and auto-correct offenses 2016-05-24 15:40:29 -04:00
rails_helper.rb
spec_helper.rb Enable Knapsack only in CI environment 2016-06-08 11:43:13 +02:00
teaspoon_env.rb Add leading comment space cop 2016-05-31 19:33:46 -03:00