Skip to content

Stub current_organization in view spec#1172

Merged
jmkoni merged 1 commit into
masterfrom
1166-recurse-factory
Oct 23, 2020
Merged

Stub current_organization in view spec#1172
jmkoni merged 1 commit into
masterfrom
1166-recurse-factory

Conversation

@littleforest

@littleforest littleforest commented Oct 23, 2020

Copy link
Copy Markdown
Collaborator

What github issue is this PR for, if any?

Resolves #1166

What changed, and why?

  • Reverted to current_organization in casa case form.

  • Stubbed current_organization in view spec. Did not figure out why the stack level too deep error was occurring, but since view spec doesn't actually hit the controller, okay to stub. There are existing request specs that work that test the controller and form view work just fine.

@haydenrou haydenrou left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@jmkoni jmkoni merged commit 7d29371 into master Oct 23, 2020
@jmkoni jmkoni deleted the 1166-recurse-factory branch October 23, 2020 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ruby Touches Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make factory not recurse

3 participants