ece517-p3/expertiza

View on GitHub
spec/models/upload_file_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [589/160]
Open

      expect(html).to eq("<tr><td align=\"center\"><a rel=\"nofollow\" data-method=\"delete\" href=\"/questions/1\">Remove</a></td><td><input size=\"6\" value=\"1.0\" name=\"question[1][seq]\" id=\"question_1_seq\" type=\"text\"></td><td><textarea cols=\"50\" rows=\"1\" name=\"question[1][txt]\" id=\"question_1_txt\" placeholder=\"Edit question content here\">test txt</textarea></td><td><input size=\"10\" disabled=\"disabled\" value=\"UploadFile\" name=\"question[1][type]\" id=\"question_1_type\" type=\"text\"></td><td><!--placeholder (UploadFile does not need weight)--></td></tr>")
Severity: Minor
Found in spec/models/upload_file_spec.rb by rubocop

Line is too long. [165/160]
Open

      expect(html).to eq("<TR><TD align=\"left\"> test txt </TD><TD align=\"left\">UploadFile</TD><td align=\"center\">1</TD><TD align=\"center\">&mdash;</TD></TR>")
Severity: Minor
Found in spec/models/upload_file_spec.rb by rubocop

There are no issues that match your filters.

Category
Status