Sorting.
, . , , Rails, . , Scenario.
, Cucumber, , () , . , , , , .
, :
Given /I have a user account/ do
@user = Factory.create(:user)
end
, , - :
Given /I have a user account/ do
visit new_user_url
fill_in "user_login", :with => "some name"
fill_in "user_password", :with => "foo"
end
, , , .
, , .
- shoulda, rspec .
- auth (, ) Rails.
- auth ( , ) Cucumber.
, , Rails , , ..