Module: Gen::TestFixtures
- Defined in:
- docs/api/stubs/generated_app.rb
Overview
The fixture accessors of gen/test/data.rb, one per fixture file. The
same names are instance methods of ActiveSupport::TestCase and
top-level methods, each forwarding here.
Class Method Summary collapse
-
.articles(label) ⇒ Article
Article.find(<the label's id>).
Class Method Details
.articles(label) ⇒ Article
Returns Article.find(<the label's id>).
1394 |
# File 'docs/api/stubs/generated_app.rb', line 1394 def self.articles(label); end |