twilio / authy-ruby

**Deprecated** Ruby library to access the authy API
MIT License
156 stars 47 forks source link

How do I run tests with rspec without Twilio charging my account? #36

Closed daydream05 closed 6 years ago

daydream05 commented 6 years ago

I'm using the phone verification api and I'd like to test my phone verification controller for successful cases but I'm not sure I would be charged for this.

LucasVidal commented 6 years ago

Hello, @daydream05 , and sorry for taking so long to reply. We used to have a sandbox environment, but it was deprecated.

Sadly we don't have a way to open an account that sends SMSs without charging for those. The kind of tests you want to run should lead you to mock the service instead.

Cheers