[rspec-users] Rspec Stories / Selenium Nightmare

2008-05-08 Thread Joseph Wilk
I have been using Rspec stories with Webrat feeling very productive and happy. Then I needed to do something with Selenium (Webrat could have done what I needed but it does not yet have the functionality). Selenium-core as part of a rails plugin looked nice but did not seem to fit with rspec

Re: [rspec-users] Rspec Stories / Selenium Nightmare

2008-05-08 Thread Zach Dennis
I've had really iffy luck with Selenium plugins in the past (selenium-on-rails, seleniumfu_rc, selenium_rc, etc.) so I've started to write a RailsSeleniumStory. I also had to remove the ActiveRecordSafetyListener in my efforts. The RailsSeleniumStory is a part of the mhs_testing plugin [0] and it

Re: [rspec-users] Rspec Stories / Selenium Nightmare

2008-05-08 Thread David Chelimsky
Just an FYI - spec-ui, an rspec extension that supports integration with selenium and watir, has been under some discussion lately and should see some new life soon. On May 8, 2008, at 10:10 AM, Zach Dennis wrote: I've had really iffy luck with Selenium plugins in the past

Re: [rspec-users] Hiding the passes

2008-05-08 Thread Oliver Saunders
I should explain I'm running the tests from textmate. So for those interested in doing the same I changed the Run Examples command in the RSpec bundle to: #!/usr/bin/env ruby require ENV['TM_BUNDLE_SUPPORT'] + /lib/spec/mate require 'spec/runner/formatter/html_formatter' module

[rspec-users] Fixtures not clearing tables?

2008-05-08 Thread Steve Downey
I have a case where I'm loading fixtures and a row added to a table in a spec is around at the start of all subsequent specs. When I set config.use_transactional_fixtures = false the fixtures load/clear as expected. Any ideas? ___ rspec-users mailing

Re: [rspec-users] Rspec Stories / Selenium Nightmare

2008-05-08 Thread Zach Dennis
David, Can you provide any more info? Is it just being talked about or are people actively working on it now? I would be interested in assisting. I've done a lot with Selenium and the ruby driver and would be interested in providing beautiful high level helpers that allow people switch from

[rspec-users] Testing render :text without has_text

2008-05-08 Thread Mark Wilden
A controller I'm trying to test simply delivers a text string to the client, which then demarshalls it to retrieve some objects. I want to test that the returned string is correct. I don't want to compare the string character-by-character with response.has_text because that ties me to the

Re: [rspec-users] Testing render :text without has_text

2008-05-08 Thread David Chelimsky
On May 8, 2008, at 5:26 PM, Mark Wilden wrote: A controller I'm trying to test simply delivers a text string to the client, which then demarshalls it to retrieve some objects. I want to test that the returned string is correct. I don't want to compare the string character-by-character with

Re: [rspec-users] Rspec Stories / Selenium Nightmare

2008-05-08 Thread David Chelimsky
On May 8, 2008, at 5:24 PM, Zach Dennis wrote: David, Can you provide any more info? Is it just being talked about or are people actively working on it now? I would be interested in assisting. I've done a lot with Selenium and the ruby driver and would be interested in providing