Skip to content

Commit

Permalink
Fix #19
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Nov 13, 2011
1 parent 74b8c35 commit 31771fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gem-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 2 additions & 0 deletions gem-scaffold/foodie/lib/foodie.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module Foodie
# Your code goes here...
end

require 'foodie/food'

0 comments on commit 31771fe

Please sign in to comment.