Skip to content

Commit

Permalink
Break an implicit spec dependency
Browse files Browse the repository at this point in the history
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 4d70cd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/follow_the_money_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4d70cd9

Please sign in to comment.