Fix rubocop offenses
This commit is contained in:
@ -118,7 +118,7 @@ describe ProformaService::ConvertTaskToExercise do
|
||||
end
|
||||
|
||||
context 'when file is very large' do
|
||||
let(:content) { 'test' * 10**5 }
|
||||
let(:content) { 'test' * (10**5) }
|
||||
|
||||
it 'creates an exercise with a file that has the correct attributes' do
|
||||
expect(convert_to_exercise_service.files.first).to have_attributes(content: content)
|
||||
|
@ -83,7 +83,7 @@ describe ProformaService::Import do
|
||||
it { is_expected.to be_an_equal_exercise_as exercise }
|
||||
|
||||
context 'when the mainfile is very large' do
|
||||
let(:file) { FactoryBot.build(:file, content: 'test' * 10**5) }
|
||||
let(:file) { FactoryBot.build(:file, content: 'test' * (10**5)) }
|
||||
|
||||
it { is_expected.to be_an_equal_exercise_as exercise }
|
||||
end
|
||||
|
Reference in New Issue
Block a user