Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix #19

  • Loading branch information...
commit 31771fe71d3d396a2b04321ee1a9fb3fb478a59a 1 parent 74b8c35
@radar authored
Showing with 7 additions and 1 deletion.
  1. +5 −1 gem-development.md
  2. +2 −0  gem-scaffold/foodie/lib/foodie.rb
View
6 gem-development.md
@@ -86,7 +86,11 @@ When we run `bundle exec rspec spec` again, we'll be told the `Foodie::Food` con
end
end
-We can then require this file at the top of our spec file by using this line:
+To load this file, we'll need to add a require line to `lib/foodie.rb` for it:
+
+ require 'foodie/food'
+
+We will also need to require the `lib/foodie.rb` at the top of `spec/spec_helper.rb`:
require 'foodie'
View
2  gem-scaffold/foodie/lib/foodie.rb
@@ -1,3 +1,5 @@
module Foodie
# Your code goes here...
end
+
+require 'foodie/food'
Please sign in to comment.
Something went wrong with that request. Please try again.