Skip to content

Commit

Permalink
Fix require in readme example
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jtippett authored May 3, 2017
1 parent 9b5fdcb commit 2bc6755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Set up specs.
$ vim spec/acceptance/orders_spec.rb

```ruby
require 'spec_helper'
require 'rails_helper'
require 'rspec_api_documentation/dsl'

resource "Orders" do
Expand Down

0 comments on commit 2bc6755

Please sign in to comment.