spec/fizzy/api/endpoints/render_overview_spec.rb in fizzy-api-0.1.4 vs spec/fizzy/api/endpoints/render_overview_spec.rb in fizzy-api-0.1.5

- old
+ new

@@ -1,14 +1,16 @@ +# frozen_string_literal: true + require 'spec_helper' require 'shared_examples_for_endpoints' module Fizzy module Api module Endpoints describe RenderOverview do let(:dossier_id) { '123' } let(:protocol_subscription_id) { 'abc' } let(:response) { httparty_response('{}') } - let(:session) { FactoryGirl.build :basic_auth_session } + let(:session) { FactoryBot.build :basic_auth_session } it_behaves_like 'an endpoint' before do allow(Sessions::BasicAuthSession).to receive(:new).and_return session