Skip to content

Commit 375b71b

Browse files
committed
test: ensure RspecApiDocumentation.configuration.app is set
1 parent 673d267 commit 375b71b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/rack_test_client_spec.rb

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
subject { test_client }
1111

12+
before do
13+
RspecApiDocumentation.configuration.app ||= context.app
14+
end
15+
1216
it { expect(subject).to be_a(RspecApiDocumentation::RackTestClient) }
1317

1418
its(:context) { should equal(context) }

0 commit comments

Comments
 (0)