Skip to content

Instantly share code, notes, and snippets.

View Levii01's full-sized avatar
📷
the code is like pasta, yum yum

Miłosz Sędziak Levii01

📷
the code is like pasta, yum yum
  • Warsaw
View GitHub Profile
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
# Prevent database truncation if the environment is production
abort("The Rails environment is running in production mode!") if Rails.env.production?
require 'spec_helper'
require 'rspec/rails'
require 'shoulda/matchers'
# Add additional requires below this line. Rails is not loaded until this point!
settings