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