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

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.
Similar Threads
  1. Robert Allan Schwartz
    Replies:
    7
    Views:
    720
    Marco Manfredini
    Aug 13, 2004
  2. Skybuck Flying

    Call oddities: &Test() vs &Test vs Test

    Skybuck Flying, Oct 4, 2009, in forum: C Programming
    Replies:
    1
    Views:
    1,174
    Skybuck Flying
    Oct 4, 2009
  3. Mauricio Fernandez
    Replies:
    1
    Views:
    565
    Peña, Botp
    Oct 16, 2006
  4. Larry Fast
    Replies:
    0
    Views:
    302
    Larry Fast
    Mar 28, 2007
  5. David Chelimsky
    Replies:
    0
    Views:
    465
    David Chelimsky
    Sep 15, 2009
  6. James Wenton
    Replies:
    3
    Views:
    660
    Ryan Davis
    May 26, 2010
  7. David Chelimsky
    Replies:
    0
    Views:
    405
    David Chelimsky
    Oct 3, 2010
  8. David Chelimsky
    Replies:
    0
    Views:
    432
    David Chelimsky
    Oct 10, 2010
Loading...