Sha256: 6aecc78604f91d2cc2bc94ceb732893452eaaf9862b6c8dd101c965e2fdd0e23

Contents?: true

Size: 492 Bytes

Versions: 8

Compression:

Stored size: 492 Bytes

Contents

require "mock/page"
require File.dirname(__FILE__) + "/spec_helper"

describe Cello::PageObjects::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? :test_select_select).should be true
    end
    it "return the selected option method exists" do
      (@page.methods.map.include? :test_select_selected).should be true
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cello-0.0.35 spec/select_spec.rb
cello-0.0.34 spec/select_spec.rb
cello-0.0.33 spec/select_spec.rb
cello-0.0.32 spec/select_spec.rb
cello-0.0.31 spec/select_spec.rb
cello-0.0.30 spec/select_spec.rb
cello-0.0.29 spec/select_spec.rb
cello-0.0.28 spec/select_spec.rb