spec/unit_spec.rb in phys-units-0.9.2 vs spec/unit_spec.rb in phys-units-0.9.3

- old
+ new

@@ -61,11 +61,11 @@ it {should_not be_dimensionless} it {should_not be_scalar} it {should be_operable} end - describe U[:m] do + describe U[:m] do it {should == U["m"]} end describe U['miles'] do it {should be_an_kind_of Phys::Unit} @@ -225,10 +225,10 @@ it {should_not be_operable} end describe "temperature unit" do it "operation error" do - expect {U['tempC']*2}.to raise_error(Phys::UnitOperationError) + expect {U['tempC']*2}.to raise_error(Phys::UnitError) end end end