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