Sha256: 1ff3856d498db7fe5aab22b635c738cea585832bc83c3207ac3394f22b9763a1
Contents?: true
Size: 760 Bytes
Versions: 68
Compression:
Stored size: 760 Bytes
Contents
Feature: select_tag helper Scenario: select_tag produces correct options Given a fixture app "indexable-app" And an empty file named "config.rb" And a file named "source/select_tag.html.erb" with: """ options as array: <%= select_tag :colors, options: ["red", "blue", "blorange"], include_blank: "Choose a color" %> """ And the Server is running at "indexable-app" When I go to "/select_tag.html" Then I should see '<select name="colors"' Then I should see '<option value="">Choose a color</option>' Then I should see '<option value="red">red</option>' Then I should see '<option value="blue">blue</option>' Then I should see '<option value="blorange">blorange</option>' Then I should see '</select>'
Version data entries
68 entries across 68 versions & 4 rubygems