Skip to content

Specs: add tests for FetchFeeds#547

Merged
mockdeep merged 1 commit into
masterfrom
rf-feeds_tests
Feb 28, 2021
Merged

Specs: add tests for FetchFeeds#547
mockdeep merged 1 commit into
masterfrom
rf-feeds_tests

Conversation

@mockdeep
Copy link
Copy Markdown
Collaborator

This is super janky, grabbing the instance variable out of the instance,
but there doesn't seem to be a great way to test for the underlying
issue, which is that in some cases jobs don't work when passing the
entire record. I thought also about inspecting the job more closely, but
wasn't able to think of a great solution there, either. I'd like to
refactor this class some down the road to not try to juggle both
@feeds_ids and @feeds variables.

This is super janky, grabbing the instance variable out of the instance,
but there doesn't seem to be a great way to test for the underlying
issue, which is that in some cases jobs don't work when passing the
entire record. I thought also about inspecting the job more closely, but
wasn't able to think of a great solution there, either. I'd like to
refactor this class some down the road to not try to juggle both
`@feeds_ids` and `@feeds` variables.
@mockdeep mockdeep self-assigned this Feb 28, 2021
@mockdeep mockdeep merged commit e7ab9be into master Feb 28, 2021
@mockdeep mockdeep deleted the rf-feeds_tests branch February 28, 2021 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant