Skip to content

Instantly share code, notes, and snippets.

diff --git a/reducers/entities.js b/reducers/entities.js
index 3cf689d..764be35 100644
--- a/reducers/entities.js
+++ b/reducers/entities.js
@@ -87,7 +87,10 @@ function storeVideos(state, { payload }) {
}
const normalShow = normalizeShow(payload, getRelationship(payload, video, 'show'));
newState[normalVideo.id] = normalVideo;
- newState[normalShow.id] = normalShow;
+ // VideoList may have stale Show entities, do not overwrite
Then for each row, I should see some "FOOD"
| FOOD |
| Cheese |
| Carob Chips |
@robcolburn
robcolburn / step_with_either_or.feature
Last active September 4, 2018 15:25
Needed an "or" clause in cucumber to check either condition. Gripes: It's terse, but I don't love that it doesn't follow normal Matcher pattern, and that error string is built when we don't need it.
Then the page should display either
| Cat |
| Dog |
| Mouse |