Sha256: 97f9956d23db4edb8f5327f51b1c8776c186d96aefc3483752a349d8f5ebcada

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

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

desc 'Set up the test database for the dummy app'
task :db do
  sh 'cd spec/dummy && bundle exec rake db:create db:migrate'
end

RSpec::Core::RakeTask.new :spec

RuboCop::RakeTask.new :lint

desc 'Run Rubocop lint checks and RSpec code examples'
task test: %w(lint spec)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
controller_resources-0.0.6 Rakefile