Sha256: 7f9767680a0b21cf9b6235d38c4deda301899d8b4db82b161ebb7afb2c6d209f
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
require 'spec_helper' feature 'Blocks > Activating blocks' do include NamedFactories scenario 'activating a block', js: true do block_1a capybara_sign_in user_1 visit "/flms/pages/#{page_1.url}/blocks" page.evaluate_script "$('.switch').bootstrapSwitch('setState', true);" click_on 'save' sleep 0.1 expect(block_1a.reload.blocks_pages.first).to be_active end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flms-0.0.3 | spec/features/blocks/activating_blocks_spec.rb |
flms-0.0.2 | spec/features/blocks/activating_blocks_spec.rb |