Sha256: abf1d19553247cb84261d4b5620cfbb6d4ed61a9173a526571aa9b2153ae0d08
Contents?: true
Size: 651 Bytes
Versions: 1
Compression:
Stored size: 651 Bytes
Contents
require 'spec_helper' SimpleCov.command_name('Raw') unless RUBY_VERSION.to_s < '1.9.0' describe 'Raw, Unit' do nodule = CucumberAnalytics::Raw before(:each) do @element = Object.new.extend(nodule) end it 'has a raw element - #raw_element' do expect(@element.respond_to?(:raw_element)).to be true end it 'can get and set its raw element - #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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber_analytics-1.5.2 | spec/unit/raw_unit_spec.rb |