Comments (6)
Localtunnel is also a good option for debugging posthooks while running the code locally http://localtunnel.com
from promptly.
If you just want to test texting input and what your app outputs (in isolation of any API calls), it looks like you could just write tests for TextController#receive_text_message.
from promptly.
Yes, I should be writing tests anyway.
from promptly.
I was just about to say, its just an API that Twilio talks to, so you could write tests for it w/o involving actual SMSs. That's what we did for Hermes.
from promptly.
Tests are being written for this now. Closing.
from promptly.
In case you're interested, here's what I did to test all this stuff (caveat: it's totally not well-factored):
https://github.com/daguar/automidnight/blob/master/spec/requests/sms_interactions_spec.rb
from promptly.
Related Issues (20)
- Notification scheduled for 5:00pm PST sent immediately HOT 4
- Admin dashboard formatting HOT 1
- Unnecessary link in Upcoming Notifications HOT 1
- Edit scheduled notification results in 404 error HOT 2
- Edit scheduled notification does not filter messages based on organization
- Editing your own account navigates to sign-in screen HOT 1
- Should User Admin sub-navigation option be available from Admin Dashboard? HOT 1
- UTC date/time issue with Dashboard?
- Sent Reminders Dashboard does not match Notifications screen HOT 2
- Notification did not delivery
- Export Table button error
- Reports search does not work HOT 1
- Cannot change a super user back to regular user.
- Reports screen; records per page links don't work
- Reports screen; table navigation doesn't work
- Reports screen; column headers appear sortable but don't work HOT 1
- UTC conversion issue on Dashboard
- Data Import
- Editing phone number Group deletes previous entries HOT 1
- Import count does not match number of phone numbers in Group
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promptly.