Flockingbird/roost

View on GitHub
test/integration/api/member_authenticates_test.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Complex method MemberAuthenticatesTest::describe(GET /session)::describe(with valid token)::it#shows my current session details (23.7)
Open

      it 'shows my current session details' do
        token = jwt.encode(authentication_payload, secret, 'HS256')
        header 'Authorization', "Bearer #{token}"
        get '/api/session'
        assert_status(200)

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