Sha256: 9e06bd8bda9fc632232f372997483b360850cc5c3abe344ddf1618f354e158d5

Contents?: true

Size: 689 Bytes

Versions: 8

Compression:

Stored size: 689 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? :test_checkbox_is_checked?).should be true
    end
    it "Verify if there it is unchecked" do
      (@page.methods.map.include? :test_checkbox_is_unchecked?).should be true
    end
    it "Check a Checkbox" do
      (@page.methods.map.include? :test_checkbox_check).should be true
    end
    it "Clear a Checkbox" do
      (@page.methods.map.include? :test_checkbox_uncheck).should be true
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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