We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 673d267 commit e1ba3e4Copy full SHA for e1ba3e4
spec/dsl_spec.rb
@@ -12,6 +12,12 @@
12
resource "Order" do
13
explanation "Order resource explanation"
14
15
+ let(:context) { |example| double(:app => StubApp, :example => example) }
16
+
17
+ before do
18
+ RspecApiDocumentation.configuration.app ||= context.app
19
+ end
20
21
describe "example metadata" do
22
subject { |example| example.metadata }
23
spec/rack_test_client_spec.rb
@@ -9,6 +9,10 @@
9
10
subject { test_client }
11
it { expect(subject).to be_a(RspecApiDocumentation::RackTestClient) }
its(:context) { should equal(context) }
0 commit comments