aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/safe_submit_spec.rb
blob: 9968d4310de7d734a5eea95dee9ec797fb4cdbe5 (plain)
1
2
3
4
5
6
7
8
9
RSpec.describe 'SafeSubmit', type: :feature do
  login_user

  let( :path ){ new_api_key_path() }
  it 'view shows the corresponding buttons' do
    visit path
    expect(page).to have_css('input[type=submit][data-disable-with]')
  end
end