Skip to content

Instantly share code, notes, and snippets.

View oamike's full-sized avatar

Mike Whitmarsh oamike

View GitHub Profile
@oamike
oamike / rails_helper.rb
Last active March 2, 2021 19:40 — forked from rebelweb/rails_helper.rb
Brakeman/RSpec Inegration
ENV["RAILS_ENV"] ||= 'test'
require 'spec_helper'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
require 'brakeman'
ActiveRecord::Migration.maintain_test_schema!
RSpec.configure do |config|
config.use_transactional_fixtures = true