spec/fizzy/api/endpoints/render_graph_spec.rb in fizzy-api-0.1.4 vs spec/fizzy/api/endpoints/render_graph_spec.rb in fizzy-api-0.1.5
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'spec_helper'
require 'shared_examples_for_endpoints'
module Fizzy
module Api
module Endpoints
@@ -7,10 +9,10 @@
let(:dossier_id) { '123' }
let(:protocol_subscription_id) { 'abc' }
let(:path) { 'welbevinden.svg' }
let(:options) { {} }
let(:response) { httparty_response('<svg>') }
- 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