Rakefile in clearance-1.6.0 vs Rakefile in clearance-1.6.1

- old
+ new

@@ -1,24 +1,23 @@ # encoding: utf-8 -require 'rubygems' -require 'bundler/setup' -require 'bundler/gem_tasks' +require "rubygems" +require "bundler/setup" +require "bundler/gem_tasks" -require 'rake' -require 'cucumber/rake/task' -require 'rspec/core/rake_task' -require 'clearance/testing/application' +require "rake" +require "cucumber/rake/task" +require "rspec/core/rake_task" -desc 'Default' -task :default => [:all] +namespace :dummy do + require_relative "spec/dummy/application" + Dummy::Application.load_tasks +end -desc 'Run the specs and cucumber featrues' -task :all => [:spec, :cucumber] +desc "Default" +task default: [:spec, :cucumber] -Clearance::Testing::Application.load_tasks - Cucumber::Rake::Task.new(:cucumber) do |t| t.fork = false - t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')] + t.cucumber_opts = ["--format", (ENV["CUCUMBER_FORMAT"] || "progress")] end RSpec::Core::RakeTask.new(:spec)