spec/requests/services/create_spec.rb
Block has too many lines. [34/25] Open
Open
RSpec.describe 'Service create', type: :request do
before(:each) do
@project = FactoryGirl.create(:project)
sign_in(@project.admin)
end
- Read upRead up
- Exclude checks
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.
Block has too many lines. [28/25] Open
Open
it 'creates a service with valid data' do
expect(Service.count).to eq(0)
interface_type_text_nominal = FactoryGirl.create(:interface_type_text_nominal)
interface_type_ner_complete = FactoryGirl.create(:interface_type_ner_complete)
- Read upRead up
- Exclude checks
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. [82/80] Open
Open
interface_type_ner_complete = FactoryGirl.create(:interface_type_ner_complete)
- Exclude checks
Line is too long. [82/80] Open
Open
interface_type_text_nominal = FactoryGirl.create(:interface_type_text_nominal)
- Exclude checks
Line is too long. [111/80] Open
Open
expect(service.interface_types.sort).to eq([interface_type_text_nominal, interface_type_ner_complete].sort)
- Exclude checks