Sha256: eb7130b09bb255e58f62679c50fdf462614b05efd1df52f582f6bcee96023ec0
Contents?: true
Size: 667 Bytes
Versions: 2
Compression:
Stored size: 667 Bytes
Contents
require 'spec_helper' SimpleCov.command_name('Raw') unless RUBY_VERSION.to_s < '1.9.0' describe 'Raw, Unit' do let(:nodule) { CukeModeler::Raw } let(:element) { Object.new.extend(nodule) } describe 'unique behavior' do it 'has a raw element' do element.should respond_to(:raw_element) end it 'can change its raw element' do expect(element).to respond_to(:raw_element=) 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 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cuke_modeler-0.4.1 | spec/unit/raw_unit_spec.rb |
cuke_modeler-0.4.0 | spec/unit/raw_unit_spec.rb |