comparison plugins/redmine_checkout/lib/tasks/spec.rake @ 1117:b4b72f1eb644 redmine-2.2-integration

Moved all the plugins from the vendor folder to the application root folder.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Jan 2013 12:32:05 +0000
parents vendor/plugins/redmine_checkout/lib/tasks/spec.rake@020926a36823
children
comparison
equal deleted inserted replaced
1116:bb32da3bea34 1117:b4b72f1eb644
1 begin
2 require "spec/rake/spectask"
3 namespace :spec do
4 namespace :plugins do
5 desc "Runs the examples for redmine_checkout"
6 Spec::Rake::SpecTask.new(:redmine_checkout) do |t|
7 t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
8 t.spec_files = FileList['vendor/plugins/redmine_checkout/spec/**/*_spec.rb']
9 end
10 end
11 end
12 task :spec => "spec:plugins:redmine_checkout"
13 rescue LoadError
14 end