try to use stable version for database cleaner
This commit is contained in:
parent
1c517153a8
commit
00ae65b108
4 changed files with 6 additions and 11 deletions
|
@ -84,11 +84,11 @@ class ProjectMergeRequests < Spinach::FeatureSteps
|
|||
end
|
||||
|
||||
And 'I switch to the diff tab' do
|
||||
visit diffs_project_merge_request_path(merge_request.project, merge_request)
|
||||
visit diffs_project_merge_request_path(project, merge_request)
|
||||
end
|
||||
|
||||
And 'I switch to the merge request\'s comments tab' do
|
||||
visit project_merge_request_path(merge_request.project, merge_request)
|
||||
visit project_merge_request_path(project, merge_request)
|
||||
end
|
||||
|
||||
And 'I click on the first commit in the merge request' do
|
||||
|
|
|
@ -34,6 +34,7 @@ Spinach.hooks.before_scenario do
|
|||
Gitlab.config.gitlab_shell.stub(repos_path: Rails.root.join('tmp', 'test-git-base-path'))
|
||||
FileUtils.rm_rf Gitlab.config.gitlab_shell.repos_path
|
||||
FileUtils.mkdir_p Gitlab.config.gitlab_shell.repos_path
|
||||
DatabaseCleaner.start
|
||||
end
|
||||
|
||||
Spinach.hooks.after_scenario do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue