Created
August 19, 2011 23:36
-
-
Save dreamr/1158306 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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