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
/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
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
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
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
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
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
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
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