spec/features/blocks/create_spec.rb in flms-0.0.1 vs spec/features/blocks/create_spec.rb in flms-0.0.2
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
feature 'Blocks > Create' do
- test_helpers
+ include NamedFactories
scenario 'creating a new block' do
capybara_sign_in user_1
visit "/flms/pages/#{page_1.url}/blocks"
click_link 'New Block'
@@ -14,6 +14,5 @@
expect(page_1.reload).to have(1).blocks
block = page_1.blocks.first
expect(block.name).to eql 'my new block'
end
end
-