Sha256: 56a4fa53c24050b8d0bfb5373a71f9efd0724febda1220aad11c7899b1aec523

Contents?: true

Size: 468 Bytes

Versions: 2

Compression:

Stored size: 468 Bytes

Contents

require 'spec_helper'

SimpleCov.command_name('FeatureElement') unless RUBY_VERSION.to_s < '1.9.0'

describe 'FeatureElement, Unit' do

  let(:clazz) { CukeModeler::FeatureElement }
  let(:element) { clazz.new }

  describe 'common behavior' do

    it_should_behave_like 'a feature element'
    it_should_behave_like 'a nested element'
    it_should_behave_like 'a prepopulated element'
    it_should_behave_like 'a bare bones element'

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cuke_modeler-0.4.1 spec/unit/feature_element_unit_spec.rb
cuke_modeler-0.4.0 spec/unit/feature_element_unit_spec.rb