Sha256: b185289f9cf4324595c198e80a062749920ff6f9c99d1452204c72ec494a3e5f

Contents?: true

Size: 658 Bytes

Versions: 5

Compression:

Stored size: 658 Bytes

Contents

# frozen_string_literal: true

# Configure Rails Environment
ENV['RAILS_ENV'] = 'test'
ENV['DISABLE_DATABASE_ENVIRONMENT_CHECK'] = '1'

require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
load 'rails/tasks/engine.rake'

Bundler::GemHelper.install_tasks

Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each {|f| load f }

require 'rspec/core'
require 'rspec/core/rake_task'

desc 'Run all specs in spec directory (excluding plugin specs)'
RSpec::Core::RakeTask.new(spec: [
  'db:drop', 'db:create', 'db:migrate', 'db:setup'
])

task default: :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
factory_bot_instrumentation-0.6.0 Rakefile
factory_bot_instrumentation-0.5.1 Rakefile
factory_bot_instrumentation-0.5.0 Rakefile
factory_bot_instrumentation-0.4.0 Rakefile
factory_bot_instrumentation-0.3.0 Rakefile