From 2af3187190267b5ce5a072e796529b84a9238d77 Mon Sep 17 00:00:00 2001 From: Washington Botelho Date: Thu, 1 Mar 2018 13:37:37 -0300 Subject: [PATCH] lint --- spec/models/rate/rate_for_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/rate/rate_for_spec.rb b/spec/models/rate/rate_for_spec.rb index ac738aa..d9723d1 100644 --- a/spec/models/rate/rate_for_spec.rb +++ b/spec/models/rate/rate_for_spec.rb @@ -81,7 +81,7 @@ RSpec.describe Rating::Rate, ':rate_for' do end context 'when matches all attributes but at least one extra scopes' do - let!(:record) do + before do described_class.create( author: author, extra_scopes: { scope_1: 'scope_1', scope_2: 'scope_2' },