diff --git a/spec/support/koala_test.rb b/spec/support/koala_test.rb index 80eb6f76..387b0adf 100644 --- a/spec/support/koala_test.rb +++ b/spec/support/koala_test.rb @@ -51,10 +51,10 @@ def self.setup_rspec @token = KoalaTest.oauth_token allow(Koala::Utils).to receive(:deprecate) # never fire deprecation warnings # Clean up Koala config - Koala.reset_config end config.after :each do + Koala.reset_config # if we're working with a real user, clean up any objects posted to Facebook # no need to do so for test users, since they get deleted at the end if @temporary_object_id && KoalaTest.real_user?