Rakefile in coupon_code-0.0.1 vs Rakefile in coupon_code-0.0.2

- old
+ new

@@ -1,13 +1,10 @@ -require "bundler/gem_tasks" -require 'rake/testtask' +require 'bundler/gem_tasks' +require 'rspec/core/rake_task' -Rake::TestTask.new do |t| - t.libs << 'test' - t.pattern = "test/*_test.rb" -end +RSpec::Core::RakeTask.new(:spec) -task :default => :test +task default: :spec task :console do - exec "irb -r coupon_code -I ./lib" -end \ No newline at end of file + exec 'irb -r coupon_code -I ./lib' +end