vochicong/rails-json-api

View on GitHub
spec/api/user_post_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method it#updates user (24.6)
Open

  it 'updates user' do
    params = {
      full_name: 'Michal Jackson',
      email_address: 'michale@gmail.com'
    }
Severity: Minor
Found in spec/api/user_post_spec.rb by flog

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

  it 'creates new user' do
    params = {
      full_name: 'Michal Jackson',
      email_address: 'michale@gmail.com'
    }
Severity: Minor
Found in spec/api/user_post_spec.rb by flog

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

There are no issues that match your filters.

Category
Status