Rick Winfrey
e5e2f948bd
Restructure reader tests and make tests more readable
2017-03-21 14:49:24 -07:00
Rick Winfrey
773e808bdb
Add invalid prefix with valid integer value test
2017-03-21 10:35:22 -07:00
Rick Winfrey
3e9d7f26bb
Add valid prefix and mixed value with valid integer id followed by string
2017-03-21 10:35:03 -07:00
Rick Winfrey
aa50b85c24
Add valid prefix and mixed value with string before a valid integer id
2017-03-21 10:34:33 -07:00
Rick Winfrey
c2894e8a6d
Add valid prefix, invalid string value test for user_id and repo_id
...
— Unfortunately, there are race conditions causing failures when
setting and reading environment variables in individual HSpec tests.
Despite removing `parallel` from the way these tests are run, I
continued to see races causing intermittent failures. This is an
unfortunate hack to combine invalid data tests within a single test
that enforces procedural order of setting and reading environment
variables without racing.
2017-03-21 10:33:37 -07:00
Rick Winfrey
4e653a1c9e
📝 purpose of sending "continue" to socket server
2017-03-21 10:31:14 -07:00
Rick Winfrey
d737ca4018
Expect userID and repoID to be sent to Gitmon
2017-03-20 18:09:59 -07:00
Rick Winfrey
6dc35dc455
Update gitmon fail status spec
2017-03-08 11:10:57 -08:00
Rick Winfrey
165dfcae04
Merge branch 'gitmon-support' into gitmon-support-with-socket
2017-03-07 10:36:43 -08:00
Rick Winfrey
bf2ed8a32a
Remove user_id
2017-03-07 10:33:18 -08:00
Timothy Clem
bf48e443f4
Swap over to new reportGitmon and update tests to match
2017-03-07 08:46:44 -08:00
Rick Winfrey
87014ed03a
We don't need to track repo id
2017-03-06 11:09:24 -08:00
Timothy Clem
bffb9a1a58
Make em all parallel!
2017-03-02 14:19:32 -08:00
Timothy Clem
b6be58f15f
Handle schedule command response
2017-03-02 13:16:38 -08:00
Timothy Clem
ef9e7705c8
Use bracket to always cleanup socket pairs in specs
2017-03-02 10:22:22 -08:00
Rick Winfrey
4e9a00b5d7
🔥 redundant import
2017-03-01 17:37:54 -08:00
Rick Winfrey
aab16223af
Close socket resources
2017-03-01 17:25:17 -08:00
Rick Winfrey
4e18d03b5b
Clean up let
2017-03-01 17:25:03 -08:00
Rick Winfrey
80ceb1940e
Add spec verifying git operation succeeds if the gitmon socket is not available
2017-03-01 17:24:43 -08:00
Rick Winfrey
42b96851fa
🔥 redundant imports and out of data field functions
2017-03-01 16:57:32 -08:00
Rick Winfrey
b0c6c9f8fc
Add spec verifying JSON parsing of ProcessData constructors matches expected values
2017-03-01 16:53:13 -08:00
Rick Winfrey
31435689a9
Add update command spec
2017-03-01 14:48:39 -08:00
Rick Winfrey
0954699b12
Add happy path GitmonClient spec
2017-03-01 14:11:16 -08:00