Can I test my database stuff using rspec?

Discussion in 'Ruby' started by varsja, Sep 9, 2014.

  1. varsja

    varsja

    Joined:
    Sep 9, 2014
    Messages:
    1
    Likes Received:
    0
    I have a piece of code that connects to the database and runs a couple of create and select queries. Is there a good way to test the database queries.
     
    varsja, Sep 9, 2014
    #1
    1. Advertisements

  2. varsja

    Michael Haephrati

    Joined:
    Oct 8, 2014
    Messages:
    1
    Likes Received:
    0
    Michael Haephrati, Oct 8, 2014
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.