Permalink
Browse files

Changelog for #464

  • Loading branch information...
1 parent 7b377c1 commit ad5e580bd68e5fde7c34beac2faae7178fa4aca6 @dchelimsky dchelimsky committed Dec 8, 2011
Showing with 6 additions and 3 deletions.
  1. +3 −0 Changelog.md
  2. +3 −3 lib/generators/rspec/scaffold/templates/controller_spec.rb
View
@@ -2,6 +2,9 @@
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.8.0.rc1...master)
+* Enhancements
+ * Add session hash to generated controller specs (Thiago Almeida)
+
* Bug fixes
* Stub attribute accessor after `respond_to?` call on mocked model (Igor
Afonov)
@@ -27,9 +27,9 @@ def valid_attributes
{}
end
- # This should return the minimal values that should be in the session
- # in order to pass any filters (such as authentication) required by
- # <%= controller_class_name %>Controller, be sure to keep this updated too.
+ # This should return the minimal set of values that should be in the session
+ # in order to pass any filters (e.g. authentication) defined in
+ # <%= controller_class_name %>Controller. Be sure to keep this updated too.
def valid_session
{}
end

0 comments on commit ad5e580

Please sign in to comment.