diff options
| author | Zog | 2018-01-10 12:30:21 +0100 |
|---|---|---|
| committer | Zog | 2018-01-10 12:30:21 +0100 |
| commit | 9becd65c404bf84b9f7b18b91bc9e20b194c1294 (patch) | |
| tree | 63dde1a71b74cc5ab8219f1aac10481c92332768 /spec | |
| parent | 2fa6e52c311a0ca63d6bb6339bb056ee0dad5b8c (diff) | |
| download | chouette-core-9becd65c404bf84b9f7b18b91bc9e20b194c1294.tar.bz2 | |
Refs #5525 @1h; Add a `diable-with` attr on all submit buttons
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/features/safe_submit_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/features/safe_submit_spec.rb b/spec/features/safe_submit_spec.rb new file mode 100644 index 000000000..9968d4310 --- /dev/null +++ b/spec/features/safe_submit_spec.rb @@ -0,0 +1,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 |
