Created
August 16, 2008 18:42
-
-
Save bryansray/5736 to your computer and use it in GitHub Desktop.
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
it "should render the first and then last values in an array if no text method is specified and collection is an array of arrays" do | |
form_for @obj do | |
content = select_control( :foo, :collection => [[0, 'FakeModel']] ) | |
content.should match_tag( :option, :value => "0") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment