-
- Downloads
Cleanup spec/support folder and spec/spec_helper
Changes: * Move spec/monkeypatch to spec/support * Remove unused support/shared_examples * Move support/api to support/api_helpers to match module name * Move support/login to support/login_helpers to match module name * Move API specs to requests/api (convention over configuration) * Remove unused support/js_patch * Simplify login_as helper * Move DatabaseCleaner stuff to its own support file * Remove unnecessary configuration and requires from spec_helper
parent
852b9c28
No related branches found
No related tags found
Showing
- features/step_definitions/project/projects_steps.rb 1 addition, 1 deletionfeatures/step_definitions/project/projects_steps.rb
- features/support/env.rb 2 additions, 2 deletionsfeatures/support/env.rb
- spec/requests/api/issues_spec.rb 0 additions, 0 deletionsspec/requests/api/issues_spec.rb
- spec/requests/api/projects_spec.rb 0 additions, 0 deletionsspec/requests/api/projects_spec.rb
- spec/requests/api/users_spec.rb 0 additions, 0 deletionsspec/requests/api/users_spec.rb
- spec/spec_helper.rb 6 additions, 31 deletionsspec/spec_helper.rb
- spec/support/api.rb 0 additions, 7 deletionsspec/support/api.rb
- spec/support/api_helpers.rb 9 additions, 0 deletionsspec/support/api_helpers.rb
- spec/support/db_cleaner.rb 18 additions, 0 deletionsspec/support/db_cleaner.rb
- spec/support/js_patch.rb 0 additions, 6 deletionsspec/support/js_patch.rb
- spec/support/login_helpers.rb 23 additions, 0 deletionsspec/support/login_helpers.rb
- spec/support/monkeypatch.rb 0 additions, 0 deletionsspec/support/monkeypatch.rb
- spec/support/shared_examples.rb 0 additions, 16 deletionsspec/support/shared_examples.rb
File moved
File moved
File moved
spec/support/api.rb
deleted
100644 → 0
spec/support/api_helpers.rb
0 → 100644
spec/support/db_cleaner.rb
0 → 100644
spec/support/js_patch.rb
deleted
100644 → 0
File moved
spec/support/shared_examples.rb
deleted
100644 → 0
Please register or sign in to comment