Sha256: 0feca01090ec41417c78ebe36b1469da5fa5791a81cc18b93ab81855b7c14265
Contents?: true
Size: 669 Bytes
Versions: 2
Compression:
Stored size: 669 Bytes
Contents
require 'mock/page' require "pry" describe Cello::PageObjects::CheckboxHelper do describe "define_extras_for_checkbox" do before(:all) do @page = Mock::Site::MockPage.new "foo" end it "Verify if is checked method exists" do (@page.methods.map.include? :checkbox_is_checked?).should be_true end it "Verify if there it is unchecked" do (@page.methods.map.include? :checkbox_is_unchecked?).should be_true end it "Check a Checkbox" do (@page.methods.map.include? :checkbox_check).should be_true end it "Clear a Checkbox" do (@page.methods.map.include? :checkbox_uncheck).should be_true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.23 | spec/checkbox_spec.rb |
cello-0.0.21 | spec/checkbox_spec.rb |