Sha256: 46eb40c5d4a3c0e2b1748bb7e6c74ea6fa7d8ebca1f8428878e2d5a8650d6f74
Contents?: true
Size: 282 Bytes
Versions: 3
Compression:
Stored size: 282 Bytes
Contents
require 'spec_helper' describe PeriodicTable do it "should return data for a named element" do element_data = PeriodicTable.lookup('oxygen') element_data.should_not be_nil element_data.symbol.should == 'O' element_data.atomic_weight.should == '15.9994' end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
periodic_table_bz-0.0.1 | spec/periodic_table_spec.rb |
periodic_table-0.0.2 | spec/lib/periodic_table_spec.rb |
periodic_table-0.0.1 | spec/lib/periodic_table_spec.rb |