Skip to content

Commit

Permalink
Fix tests after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Zuluaga committed Jan 15, 2024
1 parent 04ac2ba commit f162d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/bns/fetcher/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

it { expect(described_class).to respond_to(:new).with(1).arguments }
it { expect(@fetcher).to respond_to(:fetch).with(0).arguments }
it { expect(@fetcher).to respond_to(:format_response).with(1).arguments }
it { expect(@fetcher).to respond_to(:normalize_response).with(1).arguments }
end

describe ".fetch" do
Expand All @@ -23,7 +23,7 @@
describe ".format_response" do
it "provides no implementation of the method" do
response = {}
expect { @fetcher.format_response(response) }.to raise_exception("Not implemented yet.")
expect { @fetcher.normalize_response(response) }.to raise_exception("Not implemented yet.")
end
end
end

0 comments on commit f162d47

Please sign in to comment.