spec/cranium/dsl/source_definition_spec.rb in cranium-0.4.3 vs spec/cranium/dsl/source_definition_spec.rb in cranium-0.5
- old
+ new
@@ -36,14 +36,14 @@
expect(source.fields).to eq({})
end
it "should return the fields and types that were set" do
source.field :field1, String
- source.field :field2, Fixnum
+ source.field :field2, Integer
expect(source.fields).to eq({
field1: String,
- field2: Fixnum
+ field2: Integer
})
end
end