Re: [rspec-users] "should_not ==" vs "should !="

2008-01-18 Thread David Chelimsky
On Jan 18, 2008 10:47 PM, David James <[EMAIL PROTECTED]> wrote: > describe "should_not == vs. should !=" > it do > 5.should_not == 6 > end # passes > > it do > 5.should != 6 > end # fails > end > > # I'm running the rspec 1.1.2 gem with the corresponding Textmate bundle > # The sec

[rspec-users] "should_not ==" vs "should !="

2008-01-18 Thread David James
describe "should_not == vs. should !=" it do 5.should_not == 6 end # passes it do 5.should != 6 end # fails end # I'm running the rspec 1.1.2 gem with the corresponding Textmate bundle # The second failure surprises me. # Is != not supported? # I'd like to hear what you all think.

[rspec-users] Quiet Backtrace in RSpec

2008-01-18 Thread Jed Hurt
I'm using RSpec on Rails and would like to clean up the backtraces, so I went looking for an RSpec equivalent to ThoughtBot's Quiet Backtrace gem. I found Spec::Runner::QuietBacktraceTweaker in the RDOCS, but I can't figure out how to use it. Can I add

Re: [rspec-users] CC.rb and RSpec

2008-01-18 Thread David Chelimsky
On Jan 18, 2008 3:21 PM, Bryan Liles <[EMAIL PROTECTED]> wrote: > > On Jan 18, 2008, at 2:40 PM, Bryan Liles wrote: > > > When trying to configure a rspec 1.1.2 based app in CC.rb, I came > > across the following: > > > > . > > > > I had a solution that would monkey patch over this, but now I'm

Re: [rspec-users] CC.rb and RSpec

2008-01-18 Thread Bryan Liles
On Jan 18, 2008, at 2:40 PM, Bryan Liles wrote: > When trying to configure a rspec 1.1.2 based app in CC.rb, I came > across the following: > > . > > I had a solution that would monkey patch over this, but now I'm > looking for some help in actually explaining why this happens. It > looks li

[rspec-users] CC.rb and RSpec

2008-01-18 Thread Bryan Liles
When trying to configure a rspec 1.1.2 based app in CC.rb, I came across the following: /home/bryan/cruisecontrolrb-1.2.1/projects/support-engines/work/vendor/ plugins/rspec_on_rails/lib/spec/rails/../../../../rspec/lib/spec/ runner/options.rb:218:in `files_to_load': File or directory not foun

Re: [rspec-users] Spam Protection

2008-01-18 Thread Pat Maddox
> Maybe someone else has a better idea about this. Use gmail. I get spam, but I never see it. see http://www.bofh.org.uk/articles/2007/09/26/slide-of-the-conference Pat ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailma

Re: [rspec-users] Spam Protection

2008-01-18 Thread Mark Wilden
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Sutton Sent: Friday, January 18, 2008 10:22 AM To: rspec-users Subject: Re: [rspec-users] Spam Protection >I made this address for mailing lists only, but as it is I only have >14 spam messages at the moment... What's weird i

Re: [rspec-users] Spam Protection

2008-01-18 Thread Nathan Sutton
I made this address for mailing lists only, but as it is I only have 14 spam messages at the moment... Nathan Sutton [EMAIL PROTECTED] rspec 1.1 rspec_on_rails 1.1 rails 2.0.2 On Jan 18, 2008, at 12:03 PM, David Richards wrote: > I was disgruntled with the amount of spam I was getting, so I st

[rspec-users] Spam Protection

2008-01-18 Thread David Richards
I was disgruntled with the amount of spam I was getting, so I started setting up accounts for the various mailing lists I listen to. I use [EMAIL PROTECTED] to read the mail here. Along with the rspec news that comes over this channel, I'm getting more and more spam addressed to this same

Re: [rspec-users] new in ruby and rspec testing

2008-01-18 Thread Ben Mabey
Kevin Williams wrote: > The website. I cd into the /doc directory and ran the rake task to > create the site. The pages seem to be there, but some links are broken > and there are no css or image files. > > On Jan 18, 2008 9:32 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > >> On Jan 18, 2008

Re: [rspec-users] new in ruby and rspec testing

2008-01-18 Thread Kevin Williams
The website. I cd into the /doc directory and ran the rake task to create the site. The pages seem to be there, but some links are broken and there are no css or image files. On Jan 18, 2008 9:32 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jan 18, 2008 10:02 AM, Kevin Williams <[EMAIL PROT

Re: [rspec-users] new in ruby and rspec testing

2008-01-18 Thread David Chelimsky
On Jan 18, 2008 10:02 AM, Kevin Williams <[EMAIL PROTECTED]> wrote: > I've got the source and tried to build the docs, but it has no css and > the links are bad. How are you trying to build the docs? Are you talking about rdoc or the website docs? ___ rs

Re: [rspec-users] new in ruby and rspec testing

2008-01-18 Thread Al Chou
You can always spider the site (e.g., use Web Site Sucker on the Mac). Depending on which spider utility you use, you may have to do some manual editing afterward; Web Site Sucker, for instance, doesn't rewrite the absolute path to the CSS stylesheet into relative paths, which means that you do

Re: [rspec-users] new in ruby and rspec testing

2008-01-18 Thread George Anderson
Peepcode is likely your best bet for coherent information, at least until the book comes out: http://peepcode.com/products/test-first-development (this uses Test::Unit IIRC, but gives a good into to BDD) http://peepcode.com/products/rspec-basics http://peepcode.com/products/rspec-mocks-and-models

Re: [rspec-users] new in ruby and rspec testing

2008-01-18 Thread Kevin Williams
I've got the source and tried to build the docs, but it has no css and the links are bad. On Jan 18, 2008 8:56 AM, Scott Taylor <[EMAIL PROTECTED]> wrote: > > On Jan 18, 2008, at 10:47 AM, Kevin Williams wrote: > > > I find the website to be full of great examples. (wish it were > > available offl

Re: [rspec-users] new in ruby and rspec testing

2008-01-18 Thread Scott Taylor
On Jan 18, 2008, at 10:47 AM, Kevin Williams wrote: > I find the website to be full of great examples. (wish it were > available offline) wget and svn are your friends. Scott ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org

Re: [rspec-users] new in ruby and rspec testing

2008-01-18 Thread Kevin Williams
I find the website to be full of great examples. (wish it were available offline) http://rspec.info On Jan 18, 2008 8:16 AM, Anton Komarov <[EMAIL PROTECTED]> wrote: > Hi to all > I'm a new in ruby and RoR programming. > And my problem is Rspec. > I don't understand how to write test files in r

[rspec-users] new in ruby and rspec testing

2008-01-18 Thread Anton Komarov
Hi to all I'm a new in ruby and RoR programming. And my problem is Rspec. I don't understand how to write test files in rspec. Maybe it's because I don't know ruby good. Can you send me links to fine examples/screencasts/e-books and other stuff. I found some on google but it not enough :( Thanks f

Re: [rspec-users] Rspec problem in testing RoR application

2008-01-18 Thread Anton Komarov
Thank you for your feedback. I'll try this and it's work now:) -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Rspec problem in testing RoR application

2008-01-18 Thread David Chelimsky
On Jan 18, 2008 3:57 AM, Anton Komarov <[EMAIL PROTECTED]> wrote: > Hello. > I install gems rspec and rspec_on_rails For rails, don't use the gem. Install both as plugins: http://rspec.info/documentation/rails/install.html > I have this Error when try to run Rspec tests on my RoR application: >

Re: [rspec-users] session data and user stories

2008-01-18 Thread David Chelimsky
On Jan 16, 2008 4:59 PM, Evan Short <[EMAIL PROTECTED]> wrote: > hello there, > > i have been trying my hand at this rbehave material, specifically in terms > of integration testing a rails application, and i am curious about the most > friendly way to deal with session data. > > currently, the onl

[rspec-users] Rspec problem in testing RoR application

2008-01-18 Thread Anton Komarov
Hello. I install gems rspec and rspec_on_rails I have this Error when try to run Rspec tests on my RoR application: /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:263:in `load_missing_constant': uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper (NameE

Re: [rspec-users] testing modules

2008-01-18 Thread Pat Maddox
On Jan 11, 2008 12:57 PM, Neil M. Young <[EMAIL PROTECTED]> wrote: > > I've developed a module to include in ActiveRecord derived classes. Can I > test the module without having to tie it to a particular class? atm, I'm > including it in my User class and writing the tests in user_spec.rb, but I >

[rspec-users] testing modules

2008-01-18 Thread Neil M. Young
I've developed a module to include in ActiveRecord derived classes. Can I test the module without having to tie it to a particular class? atm, I'm including it in my User class and writing the tests in user_spec.rb, but I don't like the idea of tying the module tests to those of the class. I may

[rspec-users] session data and user stories

2008-01-18 Thread Evan Short
hello there, i have been trying my hand at this rbehave material, specifically in terms of integration testing a rails application, and i am curious about the most friendly way to deal with session data. currently, the only way i have found to simulate a session is to open a session and refer to