1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Rick Winfrey
5aebd2006a Rework loading of env vars 2017-03-28 09:41:16 -07:00
Rick Winfrey
0e406f57d3 Use traverse_ with uncurry to setEnv in specs 2017-03-27 15:55:43 -07:00
Rick Winfrey
df8d777b82 escape "{" and "}" 2017-03-23 17:33:17 -07:00
Rick Winfrey
a71389e6e1 Remove unnecessary import 2017-03-23 17:08:21 -07:00
Rick Winfrey
3b8553f912 Trying to surface error 2017-03-23 17:05:57 -07:00
Rick Winfrey
f60f90045d Remove "\n" 2017-03-23 16:12:11 -07:00
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