spec/sendgrid/web/configurator_spec.rb in sendgrid-web-0.0.1 vs spec/sendgrid/web/configurator_spec.rb in sendgrid-web-0.0.5
- old
+ new
@@ -12,10 +12,10 @@
its(:username) { should eql('foo') }
its(:password) { should eql('bar') }
end
it 'sets a default root_url for sendgrid' do
- subject.root_url.should eql('https://sendgrid.com/api/')
+ subject.root_url.should eql('https://sendgrid.com')
end
it 'can overwrite the api root_url' do
configurator = Sendgrid::Web::Configurator.new do |config|
config.root_url = 'https://example.com'