Welcome to mirror list, hosted at ThFree Co, Russian Federation.

balsamiq_spec.rb « blobs « projects « features « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bce60856544d2666bdeef6eb1fd8c8a84d715a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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