Skip to content

Commit

Permalink
update docs for rspec/rspec_rails#1238
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
JonRowe committed Jan 19, 2015
1 parent fd0158f commit 25d4345
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features/verifying_doubles/dynamic_classes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Feature: Dynamic classes

Some of these classes may have methods to define these methods on the objects at runtime.
(For example, `ActiveRecord` does this to define methods from database columns.) For these
cases we provide an API which can be used to customise verifying doubles on creation.
cases we provide an API which can be used to customise verifying doubles on creation. We
use this ourselves in `rspec-rails` to set up some niceties for you.

These types of methods are supported at class level (with `class_double`) however, since
`respond_to?` can be queried directly on the class.
Expand Down

0 comments on commit 25d4345

Please sign in to comment.