In recent years, there has been a shift from short abbreviated test names to longer phrase-like names. This is partly due to the popularity of RSpec and the concept that tests are specifications and should be descriptive.
, test. , .
test "should not be able to login with invalid password" do
end
def_should_not_be_able_to_login_with_invalid_password
end
, , . def , .