FarmBot/OpenFarm

View on GitHub
spec/controllers/api/api_stages_controller_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Block has too many lines. [140/25]
Open

describe Api::V1::StagesController, type: :controller do
  include ApiHelpers

  let!(:user) { sign_in(user = FactoryBot.create(:user)) && user }
  let(:guide) { FactoryBot.create(:guide, user: user) }

This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.

FIXME found
Open

    # FIXME: what is this spec testing? Maybe we should do some assertions on

There are no issues that match your filters.

Category
Status