Rakefile in wgif-0.2.0 vs Rakefile in wgif-0.3.0
- old
+ new
@@ -1,5 +1,10 @@
-require "bundler/gem_tasks"
+require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+RSpec::Core::RakeTask.new(:spec, :tag) do |t, task_args|
+ unless task_args[:tag] == 'integration'
+ t.rspec_opts = "--tag ~integration"
+ end
+end
+
+task default: :spec