mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 08:40:12 +01:00
forgot to add these
This commit is contained in:
parent
86afd42148
commit
fde64e0b3d
145 changed files with 9044 additions and 0 deletions
11
backup.rails2.3/plugins/translate/spec/spec_helper.rb
Normal file
11
backup.rails2.3/plugins/translate/spec/spec_helper.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
begin
|
||||
# Using PWD here instead of File.dirname(__FILE__) to be able to symlink to plugin
|
||||
# from within a Rails app.
|
||||
require File.expand_path(ENV['PWD'] + '/../../../spec/spec_helper')
|
||||
rescue LoadError => e
|
||||
puts "You need to install rspec in your base app\n#{e.message}: #{e.backtrace.join("\n")}"
|
||||
exit
|
||||
end
|
||||
|
||||
plugin_spec_dir = File.dirname(__FILE__)
|
||||
ActiveRecord::Base.logger = Logger.new(plugin_spec_dir + "/debug.log")
|
||||
Loading…
Add table
Add a link
Reference in a new issue