File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Here is how to set it up:
56
56
end
57
57
```
58
58
2 . Observe your application. You can do this in one of two ways:
59
- - Add an ` app ` method to your tests, which wraps your application with silent request / response validation. (✷1)
59
+ - Add an ` app ` method to your tests, which wraps your application with silent request / response validation. (✷1)
60
60
``` ruby
61
61
RSpec .configure do |config |
62
62
config.include OpenapiFirst ::Test ::Methods [MyApp ], type: :request
@@ -69,9 +69,9 @@ Here is how to set it up:
69
69
OpenapiFirst::Test.app(MyApp)
70
70
end
71
71
` ` `
72
- - Inject a Module to wrap (prepend ) the ` call` method of your Rack app Class .
73
- > [! IMPORTANT ]
74
- > This is still work in progress. It works with basic Sinatra apps, but does not work with Hanami or Rails out of the box, yet. PRs welcome 🤗
72
+ - Or inject a Module to wrap (prepend ) the ` call` method of your Rack app Class .
73
+
74
+ NOTE: This is still work in progress. It works with basic Sinatra apps, but does not work with Hanami or Rails out of the box, yet. PRs welcome 🤗
75
75
76
76
` ` ` ruby
77
77
OpenapiFirst::Test.observe(MyApplication)
You can’t perform that action at this time.
0 commit comments