diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-06-28 17:37:28 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-06-28 17:37:28 +0300 |
commit | c124e553f33636e434af7e913c6ebb7ffd955e6b (patch) | |
tree | 7f6a20cfff988425c07984d1f4ca053881aedd97 /spec/features/projects | |
parent | c5da0b86d298c0d9a9f4e167e4ee2fef884bf286 (diff) | |
parent | df3d9361e505db61de41b8e39516470d50c0e851 (diff) |
Merge branch 'last-commit-widget-api-call' into 'master'
Use GraphQL API to fetch last commit data
See merge request gitlab-org/gitlab-ce!29934
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/files/user_reads_pipeline_status_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/projects/show/user_sees_last_commit_ci_status_spec.rb | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/spec/features/projects/files/user_reads_pipeline_status_spec.rb b/spec/features/projects/files/user_reads_pipeline_status_spec.rb index ff0aa933a3e..5bce96d9b80 100644 --- a/spec/features/projects/files/user_reads_pipeline_status_spec.rb +++ b/spec/features/projects/files/user_reads_pipeline_status_spec.rb @@ -7,6 +7,8 @@ describe 'user reads pipeline status', :js do let(:x110_pipeline) { create_pipeline('x1.1.0', 'failed') } before do + stub_feature_flags(vue_file_list: false) + project.add_maintainer(user) project.repository.add_tag(user, 'x1.1.0', 'v1.1.0') diff --git a/spec/features/projects/show/user_sees_last_commit_ci_status_spec.rb b/spec/features/projects/show/user_sees_last_commit_ci_status_spec.rb index e277bfb8011..89ce4b50781 100644 --- a/spec/features/projects/show/user_sees_last_commit_ci_status_spec.rb +++ b/spec/features/projects/show/user_sees_last_commit_ci_status_spec.rb @@ -3,6 +3,10 @@ require 'spec_helper' describe 'Projects > Show > User sees last commit CI status' do set(:project) { create(:project, :repository, :public) } + before do + stub_feature_flags(vue_file_list: false) + end + it 'shows the project README', :js do project.enable_ci pipeline = create(:ci_pipeline, project: project, sha: project.commit.sha, ref: 'master') |