spec/features/pages/update_spec.rb in flms-0.0.1 vs spec/features/pages/update_spec.rb in flms-0.0.2
- old
+ new
@@ -1,8 +1,8 @@
require 'spec_helper'
feature 'Pages > Create' do
- test_helpers
+ include NamedFactories
scenario 'allows to create a new page' do
capybara_sign_in user_1
visit "/flms/pages/#{page_1.url}/edit"
fill_in 'Title', with: 'my new title'