Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Code rules

Luc Donnet edited this page Jan 21, 2015 · 1 revision

Relation between code and obligatory spec

my_model must have :

  • /spec/models/my_model_spec.rb

my_model_controller and my_model_viewX must have :

  • /spec/features/my_model_spec.rb
  • /spec/views/my_model_viewX_spec.rb (test presence of html element and css class )

Spec/features

In spec/features you must use now names of form input like : fill_in "user[name]" with "Username"