Sha256: 62dc8b49b435a35a1ce8530ec052ce5993de27566eccd765d83eced1bc2c1509

Contents?: true

Size: 685 Bytes

Versions: 267

Compression:

Stored size: 685 Bytes

Contents

# encoding: utf-8

begin
  require 'rspec/core/rake_task'

  desc 'Run all specs'
  RSpec::Core::RakeTask.new(:spec) do |task|
    task.pattern = 'spec/{unit,integration}{,/*/**}/*_spec.rb'
  end

  namespace :spec do
    desc 'Run unit specs'
    RSpec::Core::RakeTask.new(:unit) do |task|
      task.pattern = 'spec/unit{,/*/**}/*_spec.rb'
    end

    desc 'Run integration specs'
    RSpec::Core::RakeTask.new(:integration) do |task|
      task.pattern = 'spec/integration{,/*/**}/*_spec.rb'
    end
  end

rescue LoadError
  %w[spec spec:unit spec:integration].each do |name|
    task name do
      $stderr.puts "In order to run #{name}, do `gem install rspec`"
    end
  end
end

Version data entries

267 entries across 262 versions & 35 rubygems

Version Path
pokedex-terminal-0.2.8 vendor/bundle/ruby/2.7.0/gems/pastel-0.7.3/tasks/spec.rake
pokedex-terminal-0.2.8 vendor/bundle/ruby/2.7.0/gems/tty-reader-0.7.0/tasks/spec.rake
pokedex-terminal-0.2.7 vendor/bundle/ruby/2.7.0/gems/tty-reader-0.7.0/tasks/spec.rake
pokedex-terminal-0.2.7 vendor/bundle/ruby/2.7.0/gems/pastel-0.7.3/tasks/spec.rake
pokedex-terminal-0.2.6 vendor/bundle/ruby/2.7.0/gems/tty-reader-0.7.0/tasks/spec.rake
pokedex-terminal-0.2.6 vendor/bundle/ruby/2.7.0/gems/pastel-0.7.3/tasks/spec.rake
pokedex-terminal-0.2.5 vendor/bundle/ruby/2.7.0/gems/tty-reader-0.7.0/tasks/spec.rake
pokedex-terminal-0.2.5 vendor/bundle/ruby/2.7.0/gems/pastel-0.7.3/tasks/spec.rake
pokedex-terminal-0.2.4 vendor/bundle/ruby/2.7.0/gems/tty-reader-0.7.0/tasks/spec.rake
pokedex-terminal-0.2.4 vendor/bundle/ruby/2.7.0/gems/pastel-0.7.3/tasks/spec.rake
tty-spinner-0.9.2 tasks/spec.rake
tty-prompt-0.20.0 tasks/spec.rake
tty-reader-0.7.0 tasks/spec.rake
strings-0.1.8 tasks/spec.rake
strings-0.1.7 tasks/spec.rake
tty-box-0.5.0 tasks/spec.rake
tty-command-0.9.0 tasks/spec.rake
tty-box-0.4.1 tasks/spec.rake
strings-0.1.6 tasks/spec.rake
tty-pie-0.3.0 tasks/spec.rake