diff --git a/.travis.yml b/.travis.yml index f491d4d57..6e0929a4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ rvm: before_script: - "sudo touch /var/log/stripe-mock-server.log" - "sudo chown travis /var/log/stripe-mock-server.log" -script: "bundle exec rake" +script: "bundle exec rspec" notifications: webhooks: urls: diff --git a/Rakefile b/Rakefile index 873f9b745..144d19b42 100644 --- a/Rakefile +++ b/Rakefile @@ -12,17 +12,3 @@ rescue LoadError => e warn e.message warn "Run `gem install rubygems-tasks` to install Gem::Tasks." end - -begin - gem 'rspec', '~> 3.1' - require 'rspec/core/rake_task' - - RSpec::Core::RakeTask.new -rescue LoadError => e - task :spec do - abort "Please run `gem install rspec` to install RSpec." - end -end - -task :test => :spec -task :default => :spec