Include transaction helper into feature specs

This commit is contained in:
Artur Beljajev 2016-11-30 02:01:59 +02:00
parent 9694b3e9f5
commit 0ec796530c

View file

@ -25,6 +25,7 @@ RSpec.configure do |config|
config.include ActionView::TestCase::Behavior, type: :presenter config.include ActionView::TestCase::Behavior, type: :presenter
config.include ActiveSupport::Testing::TimeHelpers config.include ActiveSupport::Testing::TimeHelpers
config.include Features::SessionHelpers, type: :feature config.include Features::SessionHelpers, type: :feature
config.include AbstractController::Translation, type: :feature
config.define_derived_metadata(file_path: %r{/spec/presenters/}) do |metadata| config.define_derived_metadata(file_path: %r{/spec/presenters/}) do |metadata|
metadata[:type] = :presenter metadata[:type] = :presenter