Sha256: d7bc554ab143ca384d3cc93203dfbaba064ce1847eb8212e5f6d453208affec8
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
require "mock/page" describe Cello::Structure::SelectHelper do describe "define_extras_for_select" do before(:all) do @page = Mock::Site::MockPage.new "foo" end it "Select an option method exists" do (@page.methods.map.include? :select_select).should be_true end it "go to default or empty option method exists" do pending (@page.methods.map.include? :select_clear).should be_true end it "return the selected option method exists" do (@page.methods.map.include? :select_selected).should be_true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.19 | spec/select_spec.rb |