[rspec-users] feature suggestion: straight strings

2010-12-20 Thread Roger Pack
Sorry if I mentioned this one before, but has anyone proposed being able to do something like "it should be able".to { } ? (or something like that)... Might be preferable where a test description doesn't start with "it" Thoughts? Thanks. -r -- Posted via http://www.ruby-forum.com/. _

[rspec-users] Rspec-rails with gems 1.3.4

2010-12-20 Thread Thomas Andrews
When I try to install rspec-rails it tells me: ERROR: Error installing rspec-rails: i18n requires RubyGems version >= 1.3.5 I am using RubyGems 1.3.4, and I am locked down to that version at the client site. Is there a version of rspec-rails that I can install without i18n? =thomas -- P

Re: [rspec-users] feature suggestion: straight strings

2010-12-20 Thread David Chelimsky
On Dec 20, 2010, at 10:56 AM, Roger Pack wrote: > Sorry if I mentioned this one before, but has anyone proposed being able > to do something like > > >"it should be able".to { > >} > > ? (or something like that)... > > Might be preferable where a test description doesn't start with "i

Re: [rspec-users] Rspec-rails with gems 1.3.4

2010-12-20 Thread David Chelimsky
On Dec 20, 2010, at 10:54 AM, Thomas Andrews wrote: > When I try to install rspec-rails it tells me: > > ERROR: Error installing rspec-rails: > i18n requires RubyGems version >= 1.3.5 > > > I am using RubyGems 1.3.4, and I am locked down to that version at the > client site. Is there a ver

Re: [rspec-users] Rspec-rails with gems 1.3.4

2010-12-20 Thread Thomas Andrews
David Chelimsky wrote in post #969618: > On Dec 20, 2010, at 10:54 AM, Thomas Andrews wrote: > >> When I try to install rspec-rails it tells me: >> >> ERROR: Error installing rspec-rails: >> i18n requires RubyGems version >= 1.3.5 >> >> >> I am using RubyGems 1.3.4, and I am locked down to that

Re: [rspec-users] Testing html email content with have_selector rspec2 rails3 fails

2010-12-20 Thread Andrew Premdas
Rob, This doesn't make sense 1. None of your examples here are using have_selector ! 2. Why is OrderMailer no longer creating a receipt 3. Why is @mailer being encoded Is mailer.body the same in both versions, can you show this. Have you tried using a debugger before the first have_tag line. A