teamocil/spec/spec_helper.rb

18 lines
332 B
Ruby
Raw Normal View History

$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
require 'yaml'
require 'teamocil'
module Helpers
2011-10-10 12:54:26 +00:00
def layouts # {{{
return @@examples if defined?(@@examples)
2011-10-10 12:54:26 +00:00
@@examples = YAML.load_file(File.join(File.dirname(__FILE__), "fixtures/layouts.yml"))
end # }}}
end
RSpec.configure do |c|
c.include Helpers
end