Skip to content

Commit

Permalink
Convert instance_variables to symbols before excluding internal vars [#…
Browse files Browse the repository at this point in the history
…4965 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
rohitarondekar authored and josevalim committed Jun 28, 2010
1 parent 19ccd46 commit ccb21f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/test_case.rb
Expand Up @@ -181,7 +181,7 @@ def view
}

def _instance_variables
instance_variables - EXCLUDE_IVARS
instance_variables.map(&:to_s) - EXCLUDE_IVARS
end

def _assigns
Expand Down

0 comments on commit ccb21f2

Please sign in to comment.