Sha256: be231ff75ad12e58df6199cd615b00d1079b1657b6e0e5ce8b5e3aa0a3ac120b

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 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

1 entries across 1 versions & 1 rubygems

Version Path
periodic_table_info-0.0.1 spec/lib/periodic_table_spec.rb