README.md in focused_controller-1.0.0 vs README.md in focused_controller-1.1.0
- old
+ new
@@ -8,10 +8,13 @@
Focused Controller also provides test helpers which enable you to write unit
tests for your controller code. This is much faster than functional testing,
and better suited to testing fine grained logic that may exist in your actions.
+[I wrote a blog post to fully explain the
+idea](http://jonathanleighton.com/articles/2012/explaining-focused-controller/).
+
There is a [mailing list](http://groups.google.com/group/focused_controller)
for discussion.
## Synopsis ##
@@ -106,10 +109,11 @@
'functional' style. It no longer makes sense to specify the method name
to be called as it would always be `#call`. So this is omitted:
``` ruby
require 'focused_controller/functional_test_helper'
+require_dependency 'users_controller'
module UsersController
class CreateTest < ActionController::TestCase
include FocusedController::FunctionalTestHelper
@@ -179,9 +183,10 @@
versions of these objects, much like with classical functional testing.
It also provides accessors for these objects in your test class.
``` ruby
require 'focused_controller/test_helper'
+require_dependency 'users_controller'
module UsersController
class CreateTest < ActiveSupport::TestCase
include FocusedController::TestHelper