Skip to content

Conversation

@mperezv
Copy link
Collaborator

@mperezv mperezv commented Feb 28, 2020

We moved the 'displays the organization page' spec from controller specs to view specs and wrote it as a proper view spec.


expect(assigns(:organization)).to eq(organization)
expect(response.status).to eq(200)
expect(response.body).to include(organization.name)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would only remove this line. The rest is actually testing the controller's behavior and we still want it.

@sauloperez sauloperez merged commit ddfab69 into coopdevs:develop Mar 3, 2020
@sauloperez sauloperez mentioned this pull request Apr 23, 2020
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.

2 participants