Sha256: b07c520d00e88dbd5932b93026a2562d73a31052979b7c29e290a096a653a478

Contents?: true

Size: 576 Bytes

Versions: 13

Compression:

Stored size: 576 Bytes

Contents

require "#{File.dirname(__FILE__)}/../spec_helper"


describe 'Stepped, Unit', :unit_test => true do

  let(:nodule) { CukeModeler::Stepped }
  let(:stepped_model) { Object.new.extend(nodule) }


  it 'has steps' do
    expect(stepped_model).to respond_to(:steps)
  end

  it 'can change its steps' do
    expect(stepped_model).to respond_to(:steps=)

    stepped_model.steps = :some_steps
    expect(stepped_model.steps).to eq(:some_steps)
    stepped_model.steps = :some_other_steps
    expect(stepped_model.steps).to eq(:some_other_steps)
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cuke_modeler-2.1.0 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-2.0.0 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.5.1 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.5.0 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.4.0 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.3.0 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.2.1 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.2.0 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.1.1 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.1.0 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.0.4 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.0.3 testing/rspec/spec/unit/stepped_unit_spec.rb
cuke_modeler-1.0.2 testing/rspec/spec/unit/stepped_unit_spec.rb