Sha256: 7a266896fe0fd01c56453e7c0afecf5fbccc0672fbc4c76dc3c68f84e20943bf
Contents?: true
Size: 628 Bytes
Versions: 7
Compression:
Stored size: 628 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 @element.should respond_to(:raw_element) end it 'can get and set its raw element - #raw_element, #raw_element=' do @element.raw_element = :some_raw_element @element.raw_element.should == :some_raw_element @element.raw_element = :some_other_raw_element @element.raw_element.should == :some_other_raw_element end end
Version data entries
7 entries across 7 versions & 1 rubygems