File: env.rb

package info (click to toggle)
ruby-email-spec 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 892 kB
  • sloc: javascript: 6,743; ruby: 2,550; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'rubygems'
#require 'spec/expectations'

class EmailSpecWorld
  def self.root_dir
    @root_dir ||= File.join(File.expand_path(File.dirname(__FILE__)), "..", "..")
  end

  def root_dir
    EmailSpecWorld.root_dir
  end
end

World do
  EmailSpecWorld.new
end