view vendor/plugins/redmine_checkout/lib/tasks/spec.rake @ 462:b02b2eb2a312 feature_36

Searching for publications via AJAX call; the publication ID is not being sent correctly, so still shows the current publication's associated projects in the select list.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 21 Jun 2011 01:27:41 +0100
parents 020926a36823
children
line wrap: on
line source
begin
  require "spec/rake/spectask"
  namespace :spec do
    namespace :plugins do
      desc "Runs the examples for redmine_checkout"
      Spec::Rake::SpecTask.new(:redmine_checkout) do |t|
        t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
        t.spec_files = FileList['vendor/plugins/redmine_checkout/spec/**/*_spec.rb']
      end
    end
  end
  task :spec => "spec:plugins:redmine_checkout"
rescue LoadError
end