[rspec-users] SOAP / VCR / General Advice

2012-04-11 Thread Michael Guterl
I'm building a ruby wrapper for a SOAP service using savon and I'm running into some issues with testing and I would love some feedback. I have added some tests with the help of VCR, but unfortunately that doesn't feel right given some of the constraints I'm running into. 1. The service provides

[rspec-users] Error running RSpec on RVM OSX Lion

2012-04-11 Thread Ryan Macy
/Users/ryanmacy/.rvm/gems/ruby-1.9.2-p318/gems/ffi-1.0.11/lib/ffi/ library.rb:121:in `block in ffi_lib': Could not open library '/usr/lib/ liblpcapi_ssl.so': dlopen(/usr/lib/liblpcapi_ssl.so, 5): image not found (LoadError) from

Re: [rspec-users] Simple code dosn't work

2012-04-11 Thread Alex Chaffee
j.even?should be true j.even?.should be true j.even?.should be_true Not to ignite a flame war, but this is my biggest problem with RSpec: Unless you're an expert at Ruby syntax already, it's really easy to make punctuation mistakes. And of course, it should be j.should be_even (though

Re: [rspec-users] Argument Non-Matchers

2012-04-11 Thread Matt Hauck
Hmm, that's not exactly what I was thinking of... I don't mean that there should be no arguments at all, but that the arguments should _not_ be of a certain match. On Tuesday, April 10, 2012 8:48:37 PM UTC-7, Justin Ko wrote: On Apr 9, 2012, at 2:41 PM, Matt Hauck wrote: Is there a way to

Re: [rspec-users] ***SPAM*** Re: Argument Non-Matchers

2012-04-11 Thread Cynthia Kiser
Quoting Matt Hauck mattha...@gmail.com: Hmm, that's not exactly what I was thinking of... I don't mean that there should be no arguments at all, but that the arguments should _not_ be of a certain match. I suspect there isn't a built in matcher to do what you would like. But I suspect you

Re: [rspec-users] Argument Non-Matchers

2012-04-11 Thread David Chelimsky
On Wed, Apr 11, 2012 at 12:18 PM, Matt Hauck mattha...@gmail.com wrote: On Tuesday, April 10, 2012 8:48:37 PM UTC-7, Justin Ko wrote: On Apr 9, 2012, at 2:41 PM, Matt Hauck wrote: Is there a way to specify a message expectation on an object to occur _without_ a particular argument? There

Re: [rspec-users] Error running RSpec on RVM OSX Lion

2012-04-11 Thread David Chelimsky
On Tue, Apr 10, 2012 at 5:28 PM, Ryan Macy ryan.m...@borderjump.com wrote: /Users/ryanmacy/.rvm/gems/ruby-1.9.2-p318/gems/ffi-1.0.11/lib/ffi/ library.rb:121:in `block in ffi_lib': Could not open library '/usr/lib/ liblpcapi_ssl.so': dlopen(/usr/lib/liblpcapi_ssl.so, 5): image not found

Re: [rspec-users] Simple code dosn't work

2012-04-11 Thread Zach Dennis
On Wed, Apr 11, 2012 at 12:47 PM, Alex Chaffee a...@stinky.com wrote: j.even?should be true j.even?.should be true j.even?.should be_true Not to ignite a flame war, but this is my biggest problem with RSpec: Unless you're an expert at Ruby syntax already, it's really easy to make

Re: [rspec-users] Simple code dosn't work

2012-04-11 Thread Cynthia Kiser
Quoting Zach Dennis zach.den...@gmail.com: On Wed, Apr 11, 2012 at 12:47 PM, Alex Chaffee a...@stinky.com wrote: j.even?should be true j.even?.should be true j.even?.should be_true Not to ignite a flame war, but this is my biggest problem with RSpec: Unless you're an expert at