[rspec-users] Newbie testing questions

2012-06-01 Thread Ben Densmore
I recently wrote my first gem and am now in the process of learning how to write tests for it before I release. My gem is pretty basic and really just has a few class files with some methods for using GET to an API that returns some JSON data. I'm trying to come up with what I should be testing

Re: [rspec-users] Newbie testing questions

2012-06-01 Thread Matt Wynne
Hi Ben, On 1 Jun 2012, at 16:46, Ben Densmore wrote: I recently wrote my first gem and am now in the process of learning how to write tests for it before I release. My gem is pretty basic and really just has a few class files with some methods for using GET to an API that returns some

[rspec-users] using chrome for integration tests?

2012-06-01 Thread Patrick J. Collins
Hi everyone, I am trying to figure out how to my integration tests in Chrome... Doing some googling all I could find was this: # spec_helper.rb Capybara.register_driver :selenium do |app| Capybara::Selenium::Driver.new(app, :browser = :chrome) end However, firefox still launches..