spec/lib/macaco/senders/sendgrid_spec.rb in macaco-0.0.4 vs spec/lib/macaco/senders/sendgrid_spec.rb in macaco-0.0.5
- old
+ new
@@ -3,11 +3,10 @@
describe Macaco::Sendgrid do
before do
Macaco.configure do |config|
config.api_key = ENV['SENDGRID_API_KEY']
- config.api_user = ENV['SENDGRID_USER']
end
end
let(:mail) do
Macaco::Sendgrid.new do
@@ -19,10 +18,10 @@
end
end
describe '#docs' do
it 'returns back the address for the documentation for the REAL API method' do
- Macaco::Sendgrid.new.docs.must_equal 'http://sendgrid.com/docs/API_Reference/Web_API/mail.html'
+ Macaco::Sendgrid.new.docs.must_equal 'https://sendgrid.com/docs/API_Reference/Web_API/mail.html#-send'
end
end
describe '#api_root' do
it { Macaco::Sendgrid.new.api_root.must_equal 'api.sendgrid.com' }