Skip to content

Instantly share code, notes, and snippets.

@dreamr
Created August 19, 2011 23:36
Show Gist options
  • Save dreamr/1158306 to your computer and use it in GitHub Desktop.
Save dreamr/1158306 to your computer and use it in GitHub Desktop.
tests = [ { :disabled_panels => [] },
{ :disabled_panels => [ [0, 0], [0, 1], [1, 0], [1, 1] ] }
]
tests.each do |test|
context "disabled panels at: #{test[:disabled_panels]}" do
setup do
obj = valid_builder.get_instance
index_states = [
[0,0,false],
[0,1,true],
[0,2,false],
[1,0,true],
[1,1,true],
[1,2,false],
[2,0,false],
[2,1,false],
[2,2,false]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment