Skip to content
Browse files

Added more test to check for potential side effects in data.

  • Loading branch information...
1 parent 85d731d commit 7b145c6fb5c0a06f74462296c5d32df91ed471b6 @rwc9u rwc9u committed Apr 13, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/analytics_goo_test.rb
View
3 test/analytics_goo_test.rb
@@ -51,6 +51,9 @@ class AnalyticsGooTest < ActiveSupport::TestCase
should "return that IP" do
assert_equal "127.0.0.0", @ga.utmip
end
+ should "not change the analytics_config hash" do
+ assert_equal "127.0.0.1", @analytics_config[:remote_address]
+ end
end
context "that has been initialized" do

0 comments on commit 7b145c6

Please sign in to comment.
Something went wrong with that request. Please try again.