mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Include transaction helper into feature specs
This commit is contained in:
parent
9694b3e9f5
commit
0ec796530c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue