spec/unit/ogr/field_definition_spec.rb in ffi-gdal-1.0.0.beta6 vs spec/unit/ogr/field_definition_spec.rb in ffi-gdal-1.0.0.beta7
- old
+ new
@@ -111,25 +111,6 @@
it 'assigns the value' do
subject.ignore = true
expect(subject).to be_ignored
end
end
-
- describe '#as_json' do
- it 'returns a Hash of attributes' do
- expect(subject.as_json).to eq(
- is_ignored: false,
- justification: :OJUndefined,
- name: 'test field',
- precision: 0,
- type: :OFTInteger,
- width: 0
- )
- end
- end
-
- describe '#to_json' do
- it 'returns a string' do
- expect(subject.to_json).to be_a String
- end
- end
end