Sha256: a25a158f9c428e0296846106bdec6da0fb5ad4e9ffde6252b0c0f8c2ac721834

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'

require File.expand_path("#{__dir__}/../lib/association_callbacks")
require 'byebug'

# Support
Dir["#{__dir__}/support/**/*.rb"].each { |f| require f }

# Mocks
ActiveSupport::Dependencies.autoload_paths << "#{__dir__}/mocks"

RSpec.configure do |config|
  config.before(:each) do
    Comment.delete_all
    Post.delete_all
  end

  config.raise_errors_for_deprecations!
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
association_callbacks-0.2.2 spec/spec_helper.rb