Commit 33dad3f8 authored by Phil Hughes's avatar Phil Hughes Committed by Bob Van Landuyt

Added permissions feature spec

parent 00639265
require 'spec_helper'
describe 'User design permissions', :js do
let(:project) { create(:project_empty_repo, :public) }
let(:issue) { create(:issue, project: project) }
before do
stub_licensed_features(design_management: true)
visit project_issue_path(project, issue)
click_link 'Designs'
wait_for_requests
end
it 'user does not have permissions to upload design' do
expect(page).not_to have_field('design_file')
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment