Skip to content

Commit

Permalink
test: ensure RspecApiDocumentation.configuration.app is set
Browse files Browse the repository at this point in the history
  • Loading branch information
bf4 committed Apr 25, 2024
1 parent 673d267 commit 375b71b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/rack_test_client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

subject { test_client }

before do
RspecApiDocumentation.configuration.app ||= context.app
end

it { expect(subject).to be_a(RspecApiDocumentation::RackTestClient) }

its(:context) { should equal(context) }
Expand Down

0 comments on commit 375b71b

Please sign in to comment.