# Auto-generated by Remi. # Add user-customizations to env_app.rb require 'bundler/setup' require 'remi' require 'remi/cucumber' require_relative 'env_app.rb' Remi::Settings.log_level = Logger::ERROR Before do # Restart the random number generator prior to each scenario to # ensure we have reproducibility of random output Kernel.srand(35983958269835333) end After do Kernel.srand end Before '~@fails' do def expect_cucumber(&block) block.call end end Before '@fails' do def expect_cucumber(&block) begin block.call rescue RSpec::Expectations::ExpectationNotMetError => err puts "Expected error: #{err}" end end end