Contents

User model

Model test (instance methods)

Scenario: Create a user with long lastname

  • Given the following users exist
    firstnamelastnameemaillogin
    Peter Hans HueliWith last name longer than forty characterspeter.hans.hueli@example.competer hans hueli with last name longer than forty characters
  • Then a user with login "peter hans hueli with last name longer than forty characters" exists
  • And the login of this user is longer than 40 chars

Source: features/technical/user/user.feature at commit eb240d9e, Leihs (GPL license).