Browse files

Break an implicit spec dependency

follow_the_money_spec.rb implicitly depended on other spec
files to require active_support/core_ext/object, which
defines the blank? method and is used by resource.rb.

Now 'rspec spec/follow_the_money_spec.rb' passes standalone.
  • Loading branch information...
oneacross committed Apr 5, 2012
1 parent 37f3e1b commit 4d70cd9cda6db27b58fde2d4fad49093072033c4
Showing with 4 additions and 0 deletions.
  1. +4 −0 spec/follow_the_money_spec.rb
@@ -4,6 +4,10 @@
# which is used by resource_for_collection, in resource.rb
require 'active_support/inflector'
+# Provides the blank? method
+# which is used by parse in resource.rb
+require 'active_support/core_ext/object'
module GovKit::FollowTheMoney
describe GovKit::FollowTheMoney do

0 comments on commit 4d70cd9

Please sign in to comment.