gitlab-org--gitlab-foss/spec
Stan Hu 37a335e60e Fix remaining failures in shoulda-matcher
Starting with Rails 5, belongs_to now adds a presence validation to the
association, and so as of shoulda-matchers 4.0.0 the belong_to matcher
follows suit and tests that this validation is there by setting the
association to nil and asserting that there are validation errors. This
exposed an error with the `validate_branches` method: we need to check
the source and target project exist.
2019-05-21 23:19:07 -07:00
..
bin
config
controllers
db
dependencies
factories
features
finders
fixtures
frontend
graphql
haml_lint/linter Move files from lib/haml_lint to haml_lint 2019-05-21 19:49:14 -07:00
helpers
initializers
javascripts Merge branch '61928-remove-throttle-from-dirty-submit' into 'master' 2019-05-21 15:50:19 +00:00
lib Move files from lib/haml_lint to haml_lint 2019-05-21 19:49:14 -07:00
mailers
migrations
models Fix remaining failures in shoulda-matcher 2019-05-21 23:19:07 -07:00
policies
presenters
rack_servers
requests
routing
rubocop
serializers
services Merge branch 'dz-scope-project-routes' into 'master' 2019-05-22 00:06:47 +00:00
sidekiq/cron
support Bump shoulda-matchers to 4.0.1 2019-05-21 23:19:07 -07:00
tasks
uploaders
validators
views
workers Expire pipeline cache on finish 2019-05-21 17:16:06 +02:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb