Skip to content

Commit 2bc6755

Browse files
authored
Fix require in readme example
Modern version of rails use `rails_helper` instead of `spec_helper` to pull in all rails dependencies. With the example as written, the code will not work.
1 parent 9b5fdcb commit 2bc6755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Set up specs.
3030
$ vim spec/acceptance/orders_spec.rb
3131

3232
```ruby
33-
require 'spec_helper'
33+
require 'rails_helper'
3434
require 'rspec_api_documentation/dsl'
3535

3636
resource "Orders" do

0 commit comments

Comments
 (0)