Sha256: 1d99a04f37c16807321c83d6d837bbf13365205ffe82047881a84204c53d14e7
Contents?: true
Size: 406 Bytes
Versions: 2
Compression:
Stored size: 406 Bytes
Contents
task :spec => ['dummy:regenerate'] do require 'rails' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:rspec) do |t| t.pattern = '../**/*_spec.rb' # Because we are running in the context of the dummy app, we need to # make sure that spec_helper.rb is somewhere in the load path. # Thus the "-I ../" t.rspec_opts = "--colour -I ../" end Rake::Task['rspec'].invoke end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activity_engine-0.0.9 | tasks/spec.rake |
activity_engine-0.0.8 | tasks/spec.rake |