Sha256: ce6741a31cd78ed6388e027a0e786bf565a7a7043c8a7ed581dd36b81ded54ec

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 Bytes

Contents

#!/usr/bin/env rake
# frozen_string_literal: true

require 'bundler/gem_tasks'

require 'rspec/core/rake_task'
require 'cucumber'
require 'cucumber/rake/task'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.ruby_opts = '-I lib:spec'
  spec.pattern = 'spec/**/*_spec.rb'
end
task :spec

Cucumber::Rake::Task.new(:features, 'Run features') do |t|
  t.profile = 'default'
end

desc 'Run all specs and cukes'
task test: %w[spec features]

task :lib do
  $LOAD_PATH.unshift(File.expand_path('lib', File.dirname(__FILE__)))
end

task default: :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
new_data_magic-1.2 Rakefile