Rakefile in leap_salesforce-0.1.9 vs Rakefile in leap_salesforce-0.1.11
- old
+ new
@@ -8,10 +8,15 @@
CLEAN.include 'tmp/*'
RSpec::Core::RakeTask.new(:spec)
-task default: %i[clean spec]
+desc 'Check Salesforce OAuth2 authentication is working'
+task :check_oauth do
+ LeapSalesforce.oauth_working?
+end
+
+task default: %i[clean check_oauth spec]
require 'leap_salesforce'
desc "Create stubs for dynamic methods so they're picked up by the IDE"
task :stub do