Sha256: fc2ea026ef66cfe4ae09874fa8e75f1615f74180eeb219320ecfe033c0782c78

Contents?: true

Size: 385 Bytes

Versions: 5

Compression:

Stored size: 385 Bytes

Contents

<%- if bundler? -%>
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
<%- else -%>
begin
  gem 'rspec', '<%= @development_dependencies['rspec'] %>'
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new
rescue LoadError => e
  task :spec do
    abort "Please run `gem install rspec` to install RSpec."
  end
end
<%- end -%>

task :test    => :spec
task :default => :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ore-0.10.0 data/ore/templates/rspec/_tasks.erb
ore-0.9.4 data/ore/templates/rspec/_tasks.erb
ore-0.9.3 data/ore/templates/rspec/_tasks.erb
ore-0.9.2 data/ore/templates/rspec/_tasks.erb
ore-0.9.1 data/ore/templates/rspec/_tasks.erb