Skip to content

Commit

Permalink
Fix Rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
ikapelyukhin committed Jan 23, 2018
1 parent dcfa1aa commit 629adfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/product_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@
end

describe '#recommended_for?' do
subject { extension.recommended_for?(queried_base) }

let(:base) { create :product }
let(:extension) { create(:product, :extension, base_products: [base], recommended: recommended) }

subject { extension.recommended_for?(queried_base) }

context 'when the extension is recommended for its base' do
let(:recommended) { true }
let(:queried_base) { base }
Expand Down

0 comments on commit 629adfd

Please sign in to comment.