diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 21:09:07 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 21:09:07 +0000 |
commit | df40cd1c38116a25089930be960d511b0be732ad (patch) | |
tree | 6f32db75c0fa073a990873b4d6689390dbf3bbc3 /spec/features/projects/blobs | |
parent | 71c85847eb6645f6cca91febd70668d544a4125d (diff) | |
download | gitlab-ce-df40cd1c38116a25089930be960d511b0be732ad.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/blobs')
-rw-r--r-- | spec/features/projects/blobs/balsamiq_spec.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/features/projects/blobs/balsamiq_spec.rb b/spec/features/projects/blobs/balsamiq_spec.rb new file mode 100644 index 00000000000..bce60856544 --- /dev/null +++ b/spec/features/projects/blobs/balsamiq_spec.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe 'Balsamiq file blob', :js do + let(:project) { create(:project, :public, :repository) } + + before do + visit project_blob_path(project, 'add-balsamiq-file/files/images/balsamiq.bmpr') + + wait_for_requests + end + + it 'displays Balsamiq file content' do + expect(page).to have_content("Mobile examples") + end +end |