spec/features/faq_spec.rb in spree-faq-2.2.0 vs spec/features/faq_spec.rb in spree-faq-2.2.1

- old
+ new

@@ -1,15 +1,15 @@ -require 'spec_helper' +RSpec.feature 'FAQ', :js do -feature 'FAQ', :js do - given!(:user) { create(:user) } given!(:question_category) { create(:question_category, name: 'Shopping') } given!(:question) do - create(:question, + create( + :question, question_category: question_category, question: 'Do you sell stuff?', - answer: 'Think so..') + answer: 'Think so..' + ) end background do visit spree.faq_path end