Sha256: 14158780f0f99081e828063a14bea2eaaa55ba35b25877857b28666a42611c7b

Contents?: true

Size: 646 Bytes

Versions: 2

Compression:

Stored size: 646 Bytes

Contents

# encoding: utf-8

if ENV["BUNDLE_GEMFILE"] == File.expand_path("Gemfile")
  ENV["BUNDLE_GEMFILE"] = "gemfiles/Gemfile.rails-3.2.x"
end

require 'bundler'
Bundler::GemHelper.install_tasks

begin
  require 'rspec/core'
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new(:spec) do |t|
    t.pattern = FileList['spec/**/*_spec.rb']
  end

  RSpec.configure do |config|
    config.color_enabled = true
    config.tty = true
    config.formatter = :documentation
    config.mock_with :rr
  end
rescue LoadError
  require 'spec/rake/spectask'

  Spec::Rake::SpecTask.new(:spec) do |t|
    t.pattern = FileList['spec/**/*_spec.rb']
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
errplane-0.4.1 Rakefile
errplane-0.4.0 Rakefile