Skip to content

Instantly share code, notes, and snippets.

@Groogy
Last active December 14, 2015 10:19
Show Gist options
  • Save Groogy/5071194 to your computer and use it in GitHub Desktop.
Save Groogy/5071194 to your computer and use it in GitHub Desktop.
describe "rb_obj_instance_variables" do
it "gets an array with instance variable names" do
o = ObjectTest.new
@o.rb_obj_instance_variables(o).should include(:@foo)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment