ok thanks, I still get a undefined method `successful?', successful?
is a method that is used inside of the block, it's partof the
open_id_authentication plugin, any way to include the plugin in the
spec so that it recognizes the method?
thanks in advance
Pat
Works for me! However I have a feature request. Currently I exclude
certain files like so:
Autotest.add_hook :initialize do |at|
%w{this_kind that_kind .git vendor .blah}.each {|exception|
at.add_exception(exception)}
end
Will there be a way to do something like this with RSpactor? I
If you used Matt's code below, then successful? is most likely
referring to a method after your open_id_authentication method.
When you stub! that method you're effectively telling rspec to skip
over it and return what I tell you instead.
You'd need to paste more of your spec and
On 28 Apr 2008, at 07:17, David Chelimsky wrote:
Also, this approach increases the level of granularity from
individual messages to complete statements. For example, let's say I
have this line commented:
# do_something if this_condition and that_condition
If this_condition and
You'd need to paste more of your spec and controller action that you're
stubbing for anyone to be of further help.
I think I posted it on my first post, here it is:
def open_id_authentication(openid_url)
authenticate_with_open_id(openid_url, :required = [:nickname,
:email], :optional =
Hi.
On 30 Apr., 14:49, Glenn Ford [EMAIL PROTECTED] wrote:
Works for me! However I have a feature request. Currently I exclude
certain files like so:
Autotest.add_hook :initialize do |at|
%w{this_kind that_kind .git vendor .blah}.each {|exception|
at.add_exception(exception)}
end
On 30 Apr., 15:54, Ben Mabey [EMAIL PROTECTED] wrote:
This is great. I have been using it since Monday and I am loving it.
Is there a mailing list setup just for RSpactor?
Since shortly :)
http://groups.google.com/group/rspactor
- andreas
___
Hi all,
Bit of a noob problem. I'm attempting to get autotest / rspec running on
my OSX 1.5 machine. Everything is the latest version.
My test looks like:
require 'test/unit'
class TestString Test::Unit::TestCase
def test_downcase
assert_equal(abcd, ABCD.downcase)
end
def
Trying to run the 'spec:rcov' task and failing with error below.
I saw a post from last year with a different REXML error but it was a FixNum
issue.
Any help appreciated.
S
OS X
Ruby 1.8.6
Rails 2.02
RSpec-1.1.3 (build 20080131122909)
REXML 3.1.6
=
876 examples, 0 failures, 87 pending