Skip to content

Commit

Permalink
Update test to use instance methods
Browse files Browse the repository at this point in the history
  • Loading branch information
bess committed Sep 16, 2021
1 parent 9bc1c97 commit fad8537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/services/physical_holdings_markup_builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
end

describe '.request_label' do
let(:request_label) { described_class.request_label(location_rules) }
let(:request_label) { builder.request_label(location_rules) }

context 'for holdings within aeon locations' do
let(:location_rules) do
Expand Down Expand Up @@ -210,7 +210,7 @@
end

describe '.request_placeholder' do
let(:request_placeholder_markup) { described_class.request_placeholder(adapter, holding_id, location_rules, holding) }
let(:request_placeholder_markup) { builder.request_placeholder(adapter, holding_id, location_rules, holding) }

it 'generates the markup for request links' do
expect(request_placeholder_markup).to include '<td class="location-services service-conditional"'
Expand Down

0 comments on commit fad8537

Please sign in to comment.