Sha256: 14298c75c9ff53e06cf8860b85ceacccfa9d69d5004e8fa5916e9fd0aa9500dd
Contents?: true
Size: 397 Bytes
Versions: 2
Compression:
Stored size: 397 Bytes
Contents
require 'multidimensional_table/test_class' describe TestClass do context 'basic setup' do it 'knows dimensions it has' do subject.dimensions[:test_material].should == [:test_potassium, :coal, :sugar] end it 'can pinpoint right one' do subject.update_attributes(:test_material => :sugar) subject.table_result.should == '9t' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
multidimensional_table-1.1.1 | spec/multidimensional_table/test_class_spec.rb |
multidimensional_table-1.1.0 | spec/multidimensional_table/test_class_spec.rb |