examples/skeleton/Rakefile in win32-autogui-0.4.3 vs examples/skeleton/Rakefile in win32-autogui-0.5.0
- old
+ new
@@ -1,13 +1,13 @@
# encoding: utf-8
require 'rubygems'
-require 'spec'
-require 'spec/rake/spectask'
-Spec::Rake::SpecTask.new(:spec) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.spec_files = FileList['spec/**/*_spec.rb']
+require 'rspec/core/rake_task'
+desc "Run RSpec"
+RSpec::Core::RakeTask.new do |spec|
+ spec.pattern = 'spec/**/*_spec.rb'
+ spec.rspec_opts = ['--color', '--format nested']
end
require 'cucumber'
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features) do |task|