Skip to content

Commit

Permalink
add spec for options tag
Browse files Browse the repository at this point in the history
  • Loading branch information
paulca committed Feb 22, 2010
1 parent 3003d8c commit 2feafe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/helpers/behavior_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@

it "should give me a select field for options" do
behavior_tag('options').should match(/select/)
behavior_tag('options').should match(/<option value="2">Two<\/option>/)
end
end

0 comments on commit 2feafe3

Please sign in to comment.