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?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robert Allan Schwartz
    Replies:
    7
    Views:
    654
    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,106
    Skybuck Flying
    Oct 4, 2009
  3. Mauricio Fernandez
    Replies:
    1
    Views:
    511
    Peña, Botp
    Oct 16, 2006
  4. Larry Fast
    Replies:
    0
    Views:
    265
    Larry Fast
    Mar 28, 2007
  5. David Chelimsky
    Replies:
    0
    Views:
    410
    David Chelimsky
    Sep 15, 2009
  6. James Wenton
    Replies:
    3
    Views:
    615
    Ryan Davis
    May 26, 2010
  7. David Chelimsky
    Replies:
    0
    Views:
    357
    David Chelimsky
    Oct 3, 2010
  8. David Chelimsky
    Replies:
    0
    Views:
    363
    David Chelimsky
    Oct 10, 2010
Loading...