Rakefile in pubsub_notifier-0.1.1 vs Rakefile in pubsub_notifier-0.1.2

- old
+ new

@@ -1,6 +1,12 @@ require "bundler/gem_tasks" -require "rspec/core/rake_task" -RSpec::Core::RakeTask.new(:spec) +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 -task :default => :spec +require "rspec/core/rake_task" +RSpec::Core::RakeTask.new(:spec) +task default: :spec