Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadel committed Mar 31, 2020
1 parent adbd2ec commit 3cfd203
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/relevancy/basic_relevancy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require 'rails_helper'

RSpec.describe 'Search a prod-like catalog', type: :system, run_in_ci: false, relevancy: true, js: true do

let(:username) { "lux" }
let(:password) { "lux2020" }
let(:url) do
Expand Down Expand Up @@ -95,6 +94,6 @@ def results_number
end

def rank_in_results_title
page.find(".document-title-heading", text:work_title).find(".document-counter").text.to_i
page.find(".document-title-heading", text: work_title).find(".document-counter").text.to_i
end
end

0 comments on commit 3cfd203

Please sign in to comment.