Skip to content

Instantly share code, notes, and snippets.

@msroot
Created August 10, 2012 03:59
Show Gist options
  • Select an option

  • Save msroot/3310919 to your computer and use it in GitHub Desktop.

Select an option

Save msroot/3310919 to your computer and use it in GitHub Desktop.
(1..3).each do |index|
b = Bucket.find(index)
b.is_linear.should_not == send(:"bucket_#{index}_before").is_linear
# b.is_default_active.should_not == bucket_1_before.is_default_active
# b.is_default_active.should_not == bucket_1_before.is_default_active
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment