mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-23 14:02:33 -05:00
18 lines
223 B
Ruby
18 lines
223 B
Ruby
require 'rubygems'
|
|
require 'rails'
|
|
|
|
ENV["RAILS_ENV"] ||= 'test'
|
|
|
|
|
|
RSpec.configure do |config|
|
|
|
|
config.mock_framework = :mocha
|
|
config.color_enabled = true
|
|
|
|
config.before(:each) do
|
|
DiscourseEvent.clear
|
|
end
|
|
|
|
end
|
|
|
|
|