Re: [rspec-users] fixture_scenarios problem

2009-01-25 Thread Pelle Braendgaard
It was this change included in rspec 1.1.12 that caused the problem: http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/620-fixture_path-moved-from-testunittestcase-to-activesupporttestcase Basically rspec extends ActiveSupport::TestCase instead of Test::Unit:TestCase. I have made a fix t

Re: [rspec-users] fixture_scenarios problem

2009-01-25 Thread Giuseppe Bertini
> Is the git tree any different than the svn one? > http://github.com/mojombo/fixture-scenarios/tree/master > Scott Hi Scott, I checked, and the two trees are actually identical. It seems that while fixture_scenarios has not changed since around April 2007, changes in rspec since v.1.1.4 have cr

Re: [rspec-users] [ANN] Cucumber 0.2 alpha

2009-01-25 Thread Manuel Vidaurre
Aslak, For Spanish: "es": name: Spanish native: español encoding: UTF-8 background: Antecedentes feature: Característica scenario: Escenario scenario_outline: Esquema del escenario examples: Ejemplos given: Dado when: Cuando then: Entonces and: Y but: Pero Regards Manue

Re: [rspec-users] Best way to spec nested modules?...

2009-01-25 Thread Pat Maddox
Put the describe in the module, and take advantage of Ruby's lookup semantics: module Foo module Baz describe Class1 do ... Pat On 1/25/09, Stuart Hungerford wrote: > Hi, > > I've got a set of classes in nested Ruby modules which I'm using rspec > to specify: > > module Foo > > mod

[rspec-users] Best way to spec nested modules?...

2009-01-25 Thread Stuart Hungerford
Hi, I've got a set of classes in nested Ruby modules which I'm using rspec to specify: module Foo module Baz class C1 ... end class C2 ... end end end To specify C2 behaviour I need to create a bunch of C1 instances: describe Foo::Baz::C2 do before(:each) do

Re: [rspec-users] testing javascript-heavy websites

2009-01-25 Thread Joe Van Dyk
How does http://celerity.rubyforge.org/ compare to the options mentioned? On Thu, Jan 22, 2009 at 6:46 PM, Joe Van Dyk wrote: > We're starting to work on some javascript-heavy websites, and even > some flash/flex based ones as well. > > What's the current hotness in automatically testing those ty

Re: [rspec-users] [ANN] Cucumber 0.2 alpha

2009-01-25 Thread Tim Walker
On behalf of a very grateful community: Thank you. Tim On Jan 25, 2009 9:16 AM, "aslak hellesoy" wrote: Hi folks, I'm pretty excited about the next release - 0.2. Please try out the prereleases (0.1.99): gem sources -a http://gems.github.com gem install aslakhellesoy-cucumber We need upd

Re: [rspec-users] nokogiri selector help

2009-01-25 Thread Zach Dennis
On Sat, Jan 24, 2009 at 12:05 AM, Jonathan Linowes wrote: > hiya, > > i want the selector that would return a of a table if any td contains > some text, so i can use it in click_link_within > > e.g. When I click the "show" link within the row containing > "u...@example.com" > > > When /^I click t

[rspec-users] [ANN] Cucumber 0.2 alpha

2009-01-25 Thread aslak hellesoy
Hi folks, I'm pretty excited about the next release - 0.2. Please try out the prereleases (0.1.99): gem sources -a http://gems.github.com gem install aslakhellesoy-cucumber We need updated translations! To see what needs updating, do this: cucumber --lang help # To see what languages are