spec/file/definitions_spec.rb in fit-parser-0.0.2 vs spec/file/definitions_spec.rb in fit-parser-0.0.3

- old
+ new

@@ -26,10 +26,10 @@ expect(described_class.get_field(999,999)).to be_a(Hash) expect(described_class.get_field(999,999)).to eql({ :name => 'rspec_test'}) end it 'raised an error for dynamic field data' do - expect { described_class.add_field(999, 999, 'rspec_test_dyn') }.to raise_error + expect { described_class.add_field(999, 999, 'rspec_test_dyn') }.to raise_error(RuntimeError) end end context "with additional options" do before :each do