Skip to content
Snippets Groups Projects
Select Git revision
  • mshaw1-master-patch-68287
  • andr3-master-patch-06736
  • 363356-positive-intent-first
  • russell/improve-app-security-tools-introduction
  • 361217-delete-streaming-header
  • 361641-comments-discussion-header
  • morefice/add-drop-sequence-helper
  • remove-modal-ok-and-modal-cancel-slots-usage
  • sy-do-not-set-unsupported-sort-order-from-user-preference
  • master default protected
  • pedropombeiro/363308/add-html-field
  • qa-shl-group-inheritance-auth-spec
  • nd/bulk-update-member-await-active-state
  • fix-multiple-stop-actions-n-plus-1-queries
  • 358987-cleanup-feature-flag
  • release-tools/update-gitaly
  • migrate-retry-migration-button
  • id-jwt-gitlab-shell
  • 334810-add-placeholder-assignees-query
  • 363025-fix-epics-bulk-editing
  • v15.0.0-ee
  • v14.10.3-ee
  • v15.0.0-rc44-ee
  • v15.0.0-rc43-ee
  • v15.0.0-rc42-ee
  • v14.10.2-ee
  • v14.8.6-ee
  • v14.9.4-ee
  • v14.10.1-ee
  • v14.10.0-ee
  • v14.10.0-rc42-ee
  • v14.9.3-ee
  • v14.6.7-ee
  • v14.7.7-ee
  • v14.8.5-ee
  • v14.9.2-ee
  • v14.7.6-ee
  • v14.9.1-ee
  • v14.9.0-ee
  • v14.9.0-rc42-ee
40 results

update_environment_service_spec.rb

Forked from GitLab.org / GitLab
Source project has a limited visibility.
  • Igor Drozdov's avatar
    a5d10d4c
    Reset state correctly for tests failed in Rails 6.1 · a5d10d4c
    Igor Drozdov authored
    Objects created via let_it_be are shared between tests.
    Sometimes we reload them in order to reset the state.
    Sometimes it's not enough.
    For example, some tests fail because @_destroyed instance
    variable preserved. So the objects removed in a previous
    test, marked as removed in the subsequent ones.
    
    Let's use refind to fix those cases
    a5d10d4c
    History
    Reset state correctly for tests failed in Rails 6.1
    Igor Drozdov authored
    Objects created via let_it_be are shared between tests.
    Sometimes we reload them in order to reset the state.
    Sometimes it's not enough.
    For example, some tests fail because @_destroyed instance
    variable preserved. So the objects removed in a previous
    test, marked as removed in the subsequent ones.
    
    Let's use refind to fix those cases