Sha256: e2250191ea78b9e4ddfcd675c0a59363f05fb7a8fc5140c6a4f88deb48360e66
Contents?: true
Size: 647 Bytes
Versions: 3
Compression:
Stored size: 647 Bytes
Contents
require 'rspec' require 'pry' require 'rails' require 'action_controller/railtie' Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f} module Rails class Application end end module MyApp class Application < Rails::Application config.active_support.deprecation = proc { |message, stack| } end end def log_file File.join(File.dirname(__FILE__), '../log/appsignal.log') end require 'appsignal' RSpec.configure do |config| config.include TransactionHelpers config.include NotificationHelpers config.before :all do FileUtils.rm(log_file) if File.exists?(log_file) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
appsignal-0.5.3 | spec/spec_helper.rb |
appsignal-0.5.1 | spec/spec_helper.rb |
appsignal-0.5.0 | spec/spec_helper.rb |