Sha256: fee8edec765f79987df0aa5367290606491f5dc47e6cd410319a4828e459e8d4

Contents?: true

Size: 443 Bytes

Versions: 7

Compression:

Stored size: 443 Bytes

Contents

require "bundler/gem_tasks"

desc "Creates a test rails app for the specs to run against"
task :setup do
  require "rails/version"
  system("mkdir spec/rails") unless File.exist?("spec/rails")
  system "bundle exec rails new spec/rails/rails-#{Rails::VERSION::STRING} -m spec/support/rails_template.rb -T -B --skip-spring --skip-listen --skip-sprockets"
end

require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
task default: :spec

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
approval-0.3.2 Rakefile
approval-0.3.1 Rakefile
approval-0.3.0 Rakefile
approval-0.2.3 Rakefile
approval-0.2.2 Rakefile
approval-0.2.0 Rakefile
pubsub_notifier-0.1.2 Rakefile