Permalink
Browse files

Fix #19

  • Loading branch information...
1 parent 74b8c35 commit 31771fe71d3d396a2b04321ee1a9fb3fb478a59a @radar committed Nov 13, 2011
Showing with 7 additions and 1 deletion.
  1. +5 −1 gem-development.md
  2. +2 −0 gem-scaffold/foodie/lib/foodie.rb
View
@@ -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'
@@ -1,3 +1,5 @@
module Foodie
# Your code goes here...
end
+
+require 'foodie/food'

0 comments on commit 31771fe

Please sign in to comment.