Sha256: 9a5c66e764acb0b568018174533aac80e7adb00c21c23cf0d71c661a83e44b61
Contents?: true
Size: 730 Bytes
Versions: 1
Compression:
Stored size: 730 Bytes
Contents
require 'spec_helper' shared_examples_for 'a raw element' do |clazz| before(:each) do @element = clazz.new end it 'has an underlying implementation representation - #raw_element' do expect(@element.respond_to?(:raw_element)).to be true end it 'can get and set its underlying implementation representation - #raw_element, #raw_element=' do @element.raw_element = :some_raw_element expect(@element.raw_element).to eq(:some_raw_element) @element.raw_element = :some_other_raw_element expect(@element.raw_element).to eq(:some_other_raw_element) end it 'starts with no underlying implementation representation' do expect(@element.raw_element).to be_nil end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber_analytics-1.5.2 | spec/unit/raw_element_unit_specs.rb |