Sha256: 3190d291492004382fe6819f4912f9daae5a698e7bc51650955b66ce94966c06
Contents?: true
Size: 334 Bytes
Versions: 4
Compression:
Stored size: 334 Bytes
Contents
require 'spec_helper' feature 'Users > Delete' do include NamedFactories scenario 'allows to delete a new page', js: true do capybara_sign_in user_1 visit "/flms/users" page.evaluate_script('window.confirm = function() { return true; }') click_link 'delete' expect(Flms::User).to have(0).instances end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
flms-0.9.0 | spec/features/users/delete_spec.rb |
flms-0.1.0 | spec/features/users/delete_spec.rb |
flms-0.0.3 | spec/features/users/delete_spec.rb |
flms-0.0.2 | spec/features/users/delete_spec.rb |