-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Currently, testing this gem requires users to have a physical Nest. This is annoying, because it means that the project would never be able to work with a continuous integration service. It also made it hard for me to create pull requests. The solution I used was to create fake devices using Nest's developer tools. This, however, is not an ideal workflow when developing a gem. Running rspec should work regardless of your machine's state.
The best solution is to mock Nest's API responses using rspec-mocks. I'll throw together a pull request when I get time. A nice bonus of doing specs this way is a vast speed improvement, since no network requests are required.
Metadata
Metadata
Assignees
Labels
No labels