Add and apply RSpec/ContextMethod rubocop rule

This rule is available since rubocop-rspec 1.36.0. We were already
applying it in most cases.
This commit is contained in:
Javi Martín
2020-09-27 20:42:48 +02:00
parent ac30f71bda
commit 4865cbeb59
6 changed files with 13 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ describe LocalCensusRecords::Import do
end
end
context "#save" do
describe "#save" do
it "Create valid local census records with provided values" do
import.save!
local_census_record = LocalCensusRecord.find_by(document_number: "X11556678")