Sha256: 2751657a681341ce48fb54d7dfab24948daed4318d8e4ad4496243611453c937
Contents?: true
Size: 482 Bytes
Versions: 5
Compression:
Stored size: 482 Bytes
Contents
require "rspec/rails/example/reflex_example_group" require "rspec/rails/matchers/stimulus_reflex" RSpec.configure do |config| if defined?(StimulusReflex) config.include Rails.application.routes.url_helpers, type: :reflex config.include RSpec::Rails::ReflexExampleGroup, type: :reflex config.before type: :reflex do allow_any_instance_of(ActionDispatch::Request).to( receive(:session).and_return(double(:session, load!: true)) ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems