blob: 70dc6c966bad8e967f2dc59ec636df8552c5aab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# frozen_string_literal: true
require 'spec_helper'
describe 'Projects > Show > Developer views empty project instructions' do
let(:project) { create(:project, :empty_repo) }
let(:developer) { create(:user) }
before do
project.add_developer(developer)
sign_in(developer)
end
it 'displays "git clone" instructions' do
visit project_path(project)
expect(page).to have_content("git clone")
end
end
|