messagemedia / messagemedia-soap-api-ruby-sdk

⚠️ Deprecated | Sample Ruby code demonstrating how to send a SMS/Text message with the MessageMedia SOAP API
Apache License 2.0
1 stars 4 forks source link

Port tests to rspec #7

Closed tristanpenman closed 9 years ago

tristanpenman commented 9 years ago

This branch ports the few existing unit tests to rspec, and adds several tests for the Client class, leveraging the mock support provided by Savon (the SOAP Client gem).

The tests for the Client class could be more complete, but the tests that are there serve as a starting point for building a more comprehensive test suite.

tristanpenman commented 9 years ago

Note that rspec tests can be run using the following command:

bundle exec rake spec

And code coverage reports will be written to the coverage directory.

shawr commented 9 years ago

looks good