Thinking on hiring me?

Please read

Fernando Guillén

a Freelance Web Developer

cabecera decorativa

software development as an artistic expression

Ruby: DummyDropbox, mocking the Dropbox API calls.

Dummy Dropbox

Playing with the Dropbox API for an another experimental pet-project I needed to test how my mini-application was responding to different Dropbox contents. On the beginning I was configuring a real Dropbox account for testing but this was not agile and flexible. So this is because I decided to mock the dropbox ruby gem and this is because DummyDropbox has been born.

The working is simple: you point the gem to a local folder, all the dropbox API calls will think that this local folder is a real Dropbox account.


require 'dummy_dropbox'
DropboxDummy.root_path = "#{File.dirname(__FILE__)}/test/fixtures/dropbox"
session ='key', 'secret')
assert_equal( "#{File.dirname(__FILE__)}/test/fixtures/dropbox/file1.txt" ), '/file1.txt' ) 

Wondering if this could be helpful for someone.

55 Comments to “Ruby: DummyDropbox, mocking the Dropbox API calls.”
  1. Lucy DVDRip Says:

    A Greek chorus of historical figures, including Leonardo da Vinci and 19th-century politician Giuseppe Garibaldi, add rueful comment on the characters
    and their troubles while arguing about Italy’s distressing current state of
    affairs. But television do not provide the same pleasure of watching a movie as does movie
    theatre with its huge screen and surround sound system.
    This film continues a trend in fashionable CSI-CIA-crime composing deficiencies in knowledge of the fundamental concepts of know-how and that i guess it should not hassle lots of individuals even so for me your
    entire plot appeared instead forced.

    Feel free to surf to my blog post Lucy DVDRip

  2. cheap nike 95 air max Says:

    Whoa! This blog looks just like my old one! It’s on a entirely different subject but it has pretty much the same layout and design. Outstanding choice of colors!

  3. Transformers La era de la extinción pelicula completa Says:

    If you want a smaller but higher quality picture then a
    Plasma TV would be a good option as these can be purchased at sizes up to 65 inches,
    and therefore still providing you with a big screen viewing experience.
    But television do not provide the same pleasure of watching a movie as does movie theatre with its huge screen and surround sound system.
    9:30 pm Street Smarts: YAK Films’ Dance Then and Now - YAK Films is an international media production team whose work
    with urban dance began with the legendary Turf Feinz crew in Oakland, CA, innovators of the Turf dancing style.

    Here is my site: Transformers La era de la extinción pelicula completa

  4. roblox hack robux Says:

    WOW just what I was looking for. Came here by searching for roblox

    my weblog :: roblox hack robux

  5. cupid dating Says:

    I’m not sure exactly why but this weblog is loading extremely slow for me.
    Is anyone else having this problem or is it a problem on my end?

    I’ll check back later and see if the problem still exists.

  6. how to use clash of clans cheat Says:

    Very nice article, totally what I was looking foг.

  7. ankara web tasarim Says:

    Hey there! I’m at work surfing around your blog from my new apple iphone!
    Just wanted to say I love reading your blog and
    look forward to all your posts! Keep up the fantastic work!

  8. Katia Says:

    Siempre he utilizado para leer el artículo en periódicos , pero ahora que estoy
    a un usuario de la red por lo tanto a partir de ahora estoy usando neto artículos , gracias a la

  9. forge of empires hack mac Says:

    Hi there, I want to subscribe for this webpage to get most up-to-date updates, so where can i do it please help.

  10. collar 3 5 4 Says:

    My spouse and I absolutely love your blog and find most of your post’s to be just what I’m looking for.
    can you offer guest writers to write content available
    for you? I wouldn’t mind creating a post or elaborating
    on a lot of the subjects you write regarding here. Again, awesome web log!

  11. complementos tocados online Says:

    Los tocados que llevan ala deberían colocarse ladeados y que uno de sus extremos entre deje ver un poco uno de los
    ojos para otorgar misterio a nuestra mirada.

  12. audacity lame mac install Says:

    The Audacity to Podcast —A how-to podcast about podcasting and using Audacity, with Daniel J.

  13. Ingrid Boniol Says:

    Hi, i think that i noticed you visited my blog so i came to return the prefer?.I’m trying to in finding things to improve my website!I assume its good enough to make use of a few of your ideas!!|

  14. Barb Says:

    Useful info. Lucky me I found your web site unintentionally, and I’m shocked why this twist of
    fate didn’t took place in advance! I bookmarked it.

    web page; Barb,

  15. peliculas cubanas completas3 Says:

    Thank you for some other informative blog. The place else may just I am getting that type of info written in such a perfect way? I have a venture that I am simply now working on, and I have been at the glance out for such information.

  16. The Pirate Bay Says:

    They only use the Blu-Ray discs that is certainly a major reason as
    to the reasons PS3 games cannot be easily copied.

    The Ordinance split the sub-section 3k into two- sub-section 3(k) and 3(ka).
    The security researchers, who say these poisoning attacks are happening
    with a massive scale, observe that they are directed at specific Bit - Torrent
    swarms sharing Russian movie releases.


    This is really interesting, You’re an excessively professional blogger.
    I have joined your rss feed and look forward to searching for more of your great
    post. Also, I’ve shared your website in my social networks

  18. Lionel Says:

    Clash of the clans is really a free-to-play app game for download from the App
    store free of charge and it’s also the best stimulation and strategy game
    that one could ever think about which will keep you glued to your i
    - Phone and i - Pads all day together. I’ve discussed Farmville before,
    so let’s start with Cafe World. Farm - Ville especially
    being singled-out for scorn; there’s no arguing the games are addictive
    for their fans.

  19. The Pirate Bay Says:

    Net Turtle lets you download anything from your Internet, even though there is really
    a limit on your Black - Berry for file size.
    Your IP address is really a dead hand out to your online identity.
    However, the new measures won’t terminate internet
    use following the ‘three strike’ deal other countries have.

  20. Lupe Says:

    It’s difficult to find knowledgeable people
    in this particular topic, but you seem like you know
    what you’re talking about! Thanks

    web site (Lupe)

  21. Genevieve Says:

    Awesome post.

  22. Says:

    I don’t even know the way I ended up right here, however I
    thought this publish used to be great. I don’t realize who you’re but certainly you
    are going to a well-known blogger in case you aren’t already.

  23. Says:

    Great article! We are linking to this particularly great post on our website.
    Keep up the good writing.

  24. ver peliculas dragon ball online blogspot com Says:

    Lo que necesitan las pymes, soluciones completas y fáciles de usar:
    contabilidad, gestión comercial, gestión laboral…

  25. yungang Says:

    Yungang is very good to visit in combination with Wutai Mountain and
    Pinyao Ancient city.
    All these places are found in shanxi province China. We run tours to
    these places daily.
    They are all Unesco World Heritage and very special for world culture.

    Yungang’s grottoes are around a site that is a park
    and can be visited be all age groups.
    It is also suitable for children. The demonstration of Buddhist Art is exceptional and a tru testament to the
    strength of this religion at that period in Chinese history.

  26. Says:

    each time i used to read smaller articles or reviews which as well clear
    their motive, and that is also happening with this
    piece of writing which I am reading at this time.

  27. robux generator Says:

    Unquestionably believe that which you stated.

    Your favorite justification seemed to be at the net
    the simplest thing to take into account of. I say to you, I definitely get irked
    while folks think about concerns that they just
    do not understand about. You managed to hit the nail upon the highest
    and defined out the entire thing without having side effect , folks could take a
    signal. Will probably be back to get more. Thanks

  28. free Says:

    Special offer!
    Free Just Cause 3 Steam keys for you! After some time our sponsors give us new supplies of Just Cause 3 Steam keys!
    Everyone can generate key, from any country!
    It’s very easy to get one, all that you need to do is visit

  29. hdv 9 farming Says:

    ” 81.

  30. Says:

    Although kids play an average of nine hours each week, 84 only a small percentage of these display violent behavior.

  31. clash of clans mod apk android no root Says:

    Battery Life Tips Want to make your i - Phone, Samsung
    or Nokia battery last longer. Games, for instance,
    must be entertaining with all the audios and visuals.
    Wikipad is now the thinnest and lightest Android equipped
    tablet with 1.

  32. roblox Says:

    What i do not understood is actually how you’re no longer actually a lot more smartly-favored than you may be right now.
    You’re very intelligent. You understand therefore significantly in relation to
    this matter, produced me in my opinion believe it from numerous numerous angles.
    Its like women and men are not involved except it’s something to do with Woman gaga!
    Your personal stuffs great. At all times take care of it up!

  33. Roma Says:

    Fabulous, what a webpage it is! This webpage presents valuable information to us, keep it

  34. Everlasting Summer steam key Says:

    Hi there terrific website! Does running a blog like this take a large amount of work?

    I’ve virtually no knowledge of computer programming however I had been hoping to start
    my own blog soon. Anyway, should you have any recommendations
    or techniques for new blog owners please share. I understand this is
    off subject but I just had to ask. Cheers!

  35. psoriasis en pies fotos Says:

    I relish, lead to I discovered just what I used to be taking a look for. You have ended my four day long hunt! God Bless you man. Have a nice day. Bye

  36. como se si tengo psoriasis Says:

    of course like your web-site however you have to check the spelling on several of your posts. Many of them are rife with spelling problems and I to find it very bothersome to inform the truth nevertheless I will definitely come back again.

  37. pnl dinero Says:

    Thanks for another magnificent article. The place else may just anyone get that kind of information in such an ideal approach of writing? I’ve a presentation subsequent week, and I’m at the look for such information.

  38. Patti Says:

    t hurt to pay heavily for England football travel packages no
    matter what the outcome of the game may be. Tell me the last time
    you explained to your team various soccer formations by
    using a soccer field diagram. Here is a list and
    slideshow of photos of the hottest women soccer players from Germany at the 2015
    FIFA World Cup (some photos from previous players as noted below).

  39. Il corpo ha bisogno di riparazione Says:

    I’m noot sure where you are getting your information,
    but good topic. I needs to spwnd some time learning much more or understanding more.
    Thanks for great information I was looking for this
    info for my mission.

    Feel free to visit myy site: Il corpo ha bisogno di riparazione

  40. track package without tracking number Says:

    Your particular person Passport Card software quantity is the eleven digit number you got whenever you
    submitted your online software.

  41. coc hack Says:

    Thanks for your personal marvelous posting! I really enjoyed reading it, you
    are a great author.I will ensure that I bookmark your
    blog and will come back someday. I want to encourage yourself to continue
    your great writing, have a nice afternoon!

  42. cytotec Says:

    Hello, i believe that i noticed you visited
    my web site thus i got here to return the favor?.I’m trying to find
    things to enhance my site!I assume its adequate to make use of a few of your

  43. Michael kors handbags Says:

    Fernando Guillen, a Freelance Web Developer » Blog Archive » Ruby: DummyDropbox, mocking the Dropbox API calls.
    Michael kors handbags

  44. mackage canada Says:

    Fernando Guillen, a Freelance Web Developer » Blog Archive » Ruby: DummyDropbox, mocking the Dropbox API calls.
    mackage canada

  45. obat cytotec asli Says:

    Hi there friends, its impressive paragraph concerning educationand fully
    explained, keep it up all the time.

  46. asphalt 8 apk Says:

    Greetings! Veryy helpful advice in this particular
    article! It’s the little changes which will
    make the most important changes. Thanks a lot for sharing!

  47. know more Says:

    Amazing blog! Do you have any hints for aspiring writers?
    I’m hoping to start my own website soon but I’m
    a little lost on everything. Would you recommend starting
    with a free platform like Wordpress or go for a paid option?
    There are so many options out there that I’m completely confused
    .. Any suggestions? Kudos!

  48. Niki Says:

    Im utilizing the ir blaster each day on my word 4. Instead of in search
    of my remote every time im controling my residence divices with the allredy
    in my hand telephone.

  49. EON Phone Number Says:

    Luckily, Sky do their utmost to make sure that any questions,
    difficulties or considerations you’ve do not go unattended,
    even during peak name times.

  50. Dich vu quan tri fanpage Says:

    Normally I don’t read post on blogs, however I wish to say that this write-up very pressured me to check out and do it!

    Your writing taste has been surprised me. Thank you,
    very nice post.

  51. Larae Says:

    She depended on the Kalispell Regional SBDC to start
    her service planning by means of Revenue Knowledge.

  52. facebook Says:

    The really big differences, such as skin color, hair texture
    and so on, were cause by evolution. Back on December 22 1852, the legislature of Oregon Territory forced Pierce County to become independent from Thurston County.

    ll watch where the player is drafted in the mock drafts I participate in and how other fantasy owners rate him.

  53. best binary options trading platforms Says:

    Then later diversify to short-time period.

  54. Says:

    I don’t even know the way I finished up here,
    but I assumed this publish was great. I do not understand who you
    are however certainly you are going to a well-known blogger in case you aren’t already.

  55. Khang dien Says:

    I do agree with all of the ideas you’ve introduced on your post.
    They’re very convincing and will definitely work.
    Still, the posts are too brief for starters. Could you please extend them
    a little from subsequent time? Thank you for the post.

Leave a comment

You must be logged in to post a comment.

a Freelance Web Developer is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

Creative Commons License
Fernando Guillen's blog by Fernando Guillen is licensed under a Creative Commons Attribution-NoDerivs 3.0 Unported License.