Giter Site home page Giter Site logo

dynamodb_framework's People

Contributors

abramin avatar adamgeorgeson avatar banjoko01 avatar chrisbarber86 avatar ianoxley avatar johnoxleysage avatar mick-mehigan avatar noodl avatar rwadstein avatar taoliusage avatar vaughanbrittonsage avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mick-mehigan

dynamodb_framework's Issues

Time is returned as a BigDecimal

Currently, it seems that a Time value is returning has a BigDecimal which normally forces us to convert to integer afterward.

Looking at the following spec it seems that we should receive an Integer. However, it seems we have a false positive here because the eq matcher does not care about types.

stored_item['timestamp']
=> #<BigDecimal:55954338adc8,'0.1502790267E10',18(27)>

expect(stored_item['timestamp']).to eq(timestamp.to_i)
=> true

Maybe we should also add the expectations of:

expect(stored_item['timestamp']).to be_instace_of(Integer)
=> RSpec::Expectations::ExpectationNotMetError: expected 1502791042.0 (#<BigDecimal:55e8628dd150,'0.1502791042E10',18(27)>) to be an instance of Integer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.