Dalphi/dalphi

View on GitHub
spec/requests/services/update_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

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

RSpec.describe 'Service update', type: :request do
  before(:each) do
    @project = FactoryGirl.create(:project)
    @service = FactoryGirl.create(:service)
    sign_in(@project.admin)

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.

Line is too long. [97/80]
Open

    expect(service.interface_types.map(&:id).sort).to eq(@service.interface_types.map(&:id).sort)

There are no issues that match your filters.

Category
Status