Sha256: cad4813f8f702003e71116a95282aa4d1b6afdb49b8fb04356477429b65f9c5f
Contents?: true
Size: 685 Bytes
Versions: 8
Compression:
Stored size: 685 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'redmine_plugins_helper/test_tasks/base' require 'rspec/core/rake_task' module RedminePluginsHelper module TestTasks class Rspec < ::RedminePluginsHelper::TestTasks::Base def register ::RSpec::Core::RakeTask.new(task_full_name) do |t| t.rspec_opts = ::Shellwords.join(rspec_opts) end ::Rake::Task[task_full_name].enhance [prepare_task_name] end def rspec_opts ['--pattern', plugin_root.join('spec/**/*_spec.rb'), '--default-path', 'plugins/redmine_plugins_helper/spec', '--require', 'spec_helper'] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems