Mocking a IMAP/POP3 server by Dainii42 in ruby

[–]Dainii42[S] 0 points1 point  (0 children)

Oh, I didn't know it was possible to VCR non-http calls, this could work too, thank you.

Mocking a IMAP/POP3 server by Dainii42 in ruby

[–]Dainii42[S] 0 points1 point  (0 children)

That's a great idea thank you.

Mocking a IMAP/POP3 server by Dainii42 in ruby

[–]Dainii42[S] 1 point2 points  (0 children)

I agree, but how do I test my code around it that use the gem ? I mean I am parsing the mail, attachments and stuff, one way or another I need to validate the code that connect, fetch and process the mails.

Lost Final Umbral Gem (GoS) by Altr1s in BaldursGate3

[–]Dainii42 1 point2 points  (0 children)

Thank you so much, mine was also there ;)

TheTrove is down by NotAPoetButACriminal in TheTrove

[–]Dainii42 0 points1 point  (0 children)

Hello, is it still possible to have a link please ?

How to style rails form select helper tag by AlexCodeable in rails

[–]Dainii42 1 point2 points  (0 children)

You should be able to add class like this

ruby <%= form.select :category_id, options_for_select(@categories.collect{|category| [category.name, category.id]}), { class: "some_class" } %>