spec/api/user_post_spec.rb
Complex method it#updates user (24.6) Open
Open
it 'updates user' do
params = {
full_name: 'Michal Jackson',
email_address: 'michale@gmail.com'
}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool
Complex method it#creates new user (21.1) Open
Open
it 'creates new user' do
params = {
full_name: 'Michal Jackson',
email_address: 'michale@gmail.com'
}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool