Sha256: e2efb07bf025f95b169a002ab53bc9f06a69074f3f98222a1ecb91cd196264e4

Contents?: true

Size: 439 Bytes

Versions: 6

Compression:

Stored size: 439 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])

require 'yaml'
require 'teamocil'
require File.join(File.dirname(__FILE__), "./mock/layout.rb")
require File.join(File.dirname(__FILE__), "./mock/cli.rb")

module Helpers
  def layouts
    return @@examples if defined?(@@examples)
    @@examples = YAML.load_file(File.join(File.dirname(__FILE__), "fixtures/layouts.yml"))
  end
end

RSpec.configure do |c|
  c.include Helpers
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teamocil-0.4.5 spec/spec_helper.rb
teamocil-0.4.4 spec/spec_helper.rb
teamocil-0.4.3 spec/spec_helper.rb
teamocil-0.4.2 spec/spec_helper.rb
teamocil-0.4.1 spec/spec_helper.rb
teamocil-0.4 spec/spec_helper.rb