Sha256: 06f1d9c8dd83a301253ec3092a6b29c4e4b12b4b2bac52342a28ea1e9fdee47c

Contents?: true

Size: 232 Bytes

Versions: 20

Compression:

Stored size: 232 Bytes

Contents

if ['test', 'development'].include?(TEMPLATE_ENV)
  require 'rspec'
  require 'rspec/core/rake_task'

  desc 'Run the specs under spec/'
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.rspec_opts = ['--options', '.rspec']
  end
end

Version data entries

20 entries across 10 versions & 1 rubygems

Version Path
rgentpl-1.2.6 tasks/rspec.rake
rgentpl-1.2.6 src/tasks/rspec.rake
rgentpl-1.2.5 tasks/rspec.rake
rgentpl-1.2.5 src/tasks/rspec.rake
rgentpl-1.2.4.3 src/tasks/rspec.rake
rgentpl-1.2.4.3 tasks/rspec.rake
rgentpl-1.2.4.2 tasks/rspec.rake
rgentpl-1.2.4.2 src/tasks/rspec.rake
rgentpl-1.2.4.1 src/tasks/rspec.rake
rgentpl-1.2.4.1 tasks/rspec.rake
rgentpl-1.2.4 tasks/rspec.rake
rgentpl-1.2.4 src/tasks/rspec.rake
rgentpl-1.2.3 src/tasks/rspec.rake
rgentpl-1.2.3 tasks/rspec.rake
rgentpl-1.2.2 tasks/rspec.rake
rgentpl-1.2.2 src/tasks/rspec.rake
rgentpl-1.2.1 tasks/rspec.rake
rgentpl-1.2.1 src/tasks/rspec.rake
rgentpl-1.2.0 tasks/rspec.rake
rgentpl-1.2.0 src/tasks/rspec.rake