Sha256: 523f9f988eb93d580b0b98966ebbc77f9786e5b2174b904d8652553e0b0cc699

Contents?: true

Size: 629 Bytes

Versions: 2

Compression:

Stored size: 629 Bytes

Contents

require 'spec_helper'

describe Gatling::CaptureElement do
  
  before do

    capybara_node = mock (Capybara::Node::Element)
    Gatling::Configuration.reference_image_path="./"
    Gatling::CaptureElement.new capybara_node, capybara_node
  end

 

  # it 'should exclude a specified element from capture' do
  #  element_to_capture =  

  #  element_to_exclude = 'womething.child' 
  # # @cropped_and_censored_element = (element_to_capture, element_to_exclude).exclude
  #  @cropped_and_censored_element.should_not equal(@element_to_capture)
  #  @cropped_and_censored_element.should_not equal(@element_to_exclude)
  # end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gatling-1.0.8 spec/capture_spec.rb
gatling-1.0.7 spec/capture_spec.rb