Re: [rspec-users] Specifying certain tables NOT to be cleared each example?

2008-05-21 Thread Scott Taylor
On May 21, 2008, at 10:49 PM, Andrew Selder wrote: Is it possible to specify that certain tables not be cleared on each example. I've inherited a project where a good amount of enumerated data is stored in the database (US States, statuses, about 15-20 tables worth. Over all, it's a reas

[rspec-users] Specifying certain tables NOT to be cleared each example?

2008-05-21 Thread Andrew Selder
Is it possible to specify that certain tables not be cleared on each example. I've inherited a project where a good amount of enumerated data is stored in the database (US States, statuses, about 15-20 tables worth. Over all, it's a reasonable decision that leads to solid production code

[rspec-users] RSpec for testing REST webservices? (Not Rails)

2008-05-21 Thread Erik Terpstra
Hi, I am new to RSpec and BDD. I was wondering if RSpec specifications are a good solution for testing REST webservices (not implemented in Rails). If so, what would be a good way to test something like the API described below? === GET http://localhost/workflow text/xml Result: 200

[rspec-users] Testing REST webservices? (Not Rails)

2008-05-21 Thread Erik Terpstra
Hi, I am new to RSpec and BDD. I was wondering if RSpec specifications are a good solution for testing REST webservices (not implemented in Rails). If so, what would be a good way to test something like the API described below? === GET http://localhost/workflow text/xml Result: 200

Re: [rspec-users] running rspec on 1.2.3 ??

2008-05-21 Thread Larry Kluger
Hi David, Thank you for your response. Got it working: The rspec_on_rails was not being loaded because it appeared in the line config.plugins -= %W( query_trace ... } # plugins that should NOT be loaded in the file config/environments/test.rb Fix: check that both rspec and rspec_on_rails plu

Re: [rspec-users] TextMate bundle not using environment variable to find Ruby library

2008-05-21 Thread SoManyFishes
Something is going on in my TextMate bundle--it's calling the wrong lib for Ruby. I have the environment variables set like this: > > TM_RSPEC_HOME /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.3 > TM_RUBY /usr/local/bin/ruby How can I get TextMate to use the library in usr/local/bin/ruby ins

Re: [rspec-users] running rspec on 1.2.3 ??

2008-05-21 Thread David Chelimsky
On May 20, 2008, at 11:26 PM, Larry Kluger wrote: Hi, Anyone know how to run rspec on 1.2.3? It fails out of the box I newly downloaded rspec, rspec_on_rails and ran the command ruby script/generate rspec ==>>> Does this script work right? from the instructions http://rspec.info/doc