OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/tasks/spec.rake

14 lines
430 B

begin
require "spec/rake/spectask"
namespace :spec do
namespace :plugins do
desc "Runs the examples for redmine_costs"
Spec::Rake::SpecTask.new(:redmine_costs) do |t|
t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
t.spec_files = FileList['vendor/plugins/redmine_costs/spec/**/*_spec.rb']
end
end
end
task :spec => "spec:plugins:redmine_costs"
rescue LoadError
end