Skip to content

Commit

Permalink
Added requirements needed to run specs
Browse files Browse the repository at this point in the history
  • Loading branch information
kazjote committed Aug 18, 2010
1 parent 398f00e commit 2491e5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

require 'couch_potato'

require 'time'
require 'active_support/core_ext/object/blank.rb'
require 'active_support/core_ext/hash/except.rb'

if ENV["RUN_CODE_RUN"]
CouchPotato::Config.database_name = 'http://langalex.couch.io/couch_potato_test'
else
Expand Down

2 comments on commit 2491e5a

@langalex
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't see any code using object.blank? or hash.except - why is it neccessary?

@kazjote
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is for blank? here is the line http://github.com/kazjote/couch_potato/blob/2491e5a24ad62bcf0726fb6fc40697966d2bde72/spec/spec_helper.rb#L19
If it is for hash.except - you are right I have removed this require.

Please sign in to comment.