Sha256: 0c5fd859bfac30867ae09848018f4dc50693591ca5a449546deb1aa825d4cb1e

Contents?: true

Size: 701 Bytes

Versions: 2

Compression:

Stored size: 701 Bytes

Contents

# http://stackoverflow.com/questions/15752774/ \
# strategies-for-gem-tests-to-ensure-the-gem-works-with-rails-3-x-and-4-0

unless ENV['FRAMEWORK'].nil?
  ENV['BUNDLE_GEMFILE'] = "Gemfile.#{ENV['FRAMEWORK']}"
end

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
# require 'yard'
# require 'rake/testtask'

# Rake::TestTask.new do |t|
#   t.name = :spec_rails
#   t.libs.push "spec_rails"
#   t.test_files = FileList['spec_rails/**/*_spec.rb']
#   t.verbose = true
# end

#YARD::Rake::YardocTask.new

RSpec::Core::RakeTask.new(:spec)

task :default => :spec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wrap_it-1.0.2 Rakefile
wrap_it-1.0.1 Rakefile