Created
June 10, 2011 12:11
-
-
Save swanandp/1018717 to your computer and use it in GitHub Desktop.
One issue on acts_as_list said that first.first? and first.last? both returned true
This file contains 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
7.times do | |
ListMixin.create! | |
end | |
assert ListMixin.first.first? | |
assert ListMixin.last.last? | |
assert !ListMixin.last.first? | |
assert !ListMixin.first.last? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment