Sha256: b4e72eb60468a47edf009cdfa1ccce5a0720ec3e07b835da93b6ca8d775c82b4

Contents?: true

Size: 681 Bytes

Versions: 3

Compression:

Stored size: 681 Bytes

Contents

require 'bundler'
begin
  Bundler.setup
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

require 'action_view'
require 'mustache'

module ActionView
  class Template
    module Foo
    end
  end
  class TemplateFoo
  end
end

require 'stache'
ENV["RAILS_ENV"] ||= 'test'
require 'dummy/config/environment'
require 'rspec/rails'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.infer_spec_type_from_file_location!
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stache-1.2.0 spec/spec_helper.rb
stache-1.1.1 spec/spec_helper.rb
stache-1.1.0 spec/spec_helper.rb