Sha256: 79b333339a31edf300c68abeb1b81a3294e381113d3f719dbd1d6f6d56d1fab2
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
require 'spec_helper' feature 'Blocks > Edit' do test_helpers scenario 'editing an existing block' do page_1.blocks << block_1 capybara_sign_in user_1 visit "/flms/pages/#{page_1.url}/blocks" click_link 'edit' fill_in 'Name', with: 'new block name' click_button 'Update Block' expect(Flms::Block).to have(1).instances block = page_1.reload.blocks.first expect(block.name).to eql 'new block name' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flms-0.0.1 | spec/features/blocks/edit_spec.rb |