ControllerExampleGroup documentation and isolation_from_views.feature inconsistent #313

cgriego opened this Issue Jan 24, 2011 · 2 comments

2 participants


The ControllerExampleGroup documentation gives the spiel about testing controllers in isolation and says that the view does not even have to exist. The controller isolation_from_views.feature states that unlike rspec-rails 1.x, the view file is required in 2.x.

If I had a preference, I'd like the old behavior back so that controllers are truly tested in isolation, but this ticket would be satisfied if the documentation was just consistent.

RSpec member

We have the same preference. It's just not feasible due to changes in Rails 3.

RSpec member

Update rdoc for controller specs.

@amatsuda amatsuda pushed a commit that referenced this issue Nov 15, 2011
@dchelimsky dchelimsky Update rdoc for controller specs.
- Closes #313.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment