Displaying 20 results from an estimated 500 matches similar to: "paypal vs vpaypal"
2006 Jun 24
0
integrating paypal pro with rails?
I''m about to get starting integrating Paypal Website Payments Pro, and I''m
wondering if anyone has any tips or best-practices to share. So far I''ve found
a few paypal related tools, of which the ELC Plugin (link below) seems the best
suited for payments pro, but I''d love to hear any experiences verifying or
contradicting that, or any war stories at all.
Best,
2007 Dec 17
2
RSpec 1.1.0 (Rails) --- Supported Rails Versions?
Hi
Just a quick question .... what backward versions of Rails will the
1.1.0 versions of RSpec and Spec::Rails support?
I think I maybe under the (incorrect) impression that I had to go to
Rails 2.0 for 1.1.0
Cheers
Shane
Shane Mingins
ELC Technologies (TM)
1921 State Street
Santa Barbara, CA 93101
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM:
2007 Nov 21
2
When you sometimes wonder how to test this??
Hi
Just something that I have been finding very helpful sometimes when I
am stuck with "how could I test this?" moments is looking at the
Rails test suite.
At the moment I am working on testing our custom error_messages_for
methods and I have found looking at how the Rails tests in
active_record_helper work helpful :-)
So just thought I''d share that. Have
2008 Mar 14
2
Lib Specs and config.use_transactional_fixtures = true
Hi
We have specs in our rails project other than model/view/controller ..
we have interests and lib ...
using use_transactional_fixtures = true seems fine in a spec in the m/
v/c and interests directories but not in lib
Just wondered if anyone had any quick thoughts as to why that may be???
Shane Mingins
ELC Technologies (TM)
1921 State Street
Santa Barbara, CA 93101
Phone: +64 4 568
2007 Oct 05
4
have_xml_tag
Hi
Was just using have_tag on an xml response and found the problem
outlined and resolved here
http://weblog.jamisbuck.org/2007/1/4/assert_xml_select
Just wondered if there is any support in rspec?
Cheers
Shane
Shane Mingins
ELC Technologies (TM)
PO Box 247
Santa Barbara, CA 93102
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype:
2007 Oct 25
3
Mocking Workers in Backgroundrb
Hi
Has anyone mocked a call like the following for backgroundrb?
MiddleMan.new_worker(:class => :admin_email_worker, :args => params
[:email])
I cannot seem to find the correct manner to do it.
Would have liked to be able to do MiddleMan.should_receive
(:new_worker).with(:class => :admin_email_worker, :args => {"body" =>
"my message"})
Cheers
Shane
2007 Sep 04
7
1.05 to 1.08
Hi
We are looking at moving a project over from 1.05 to 1.08 but have a
problem with some of our helper specs
They work fine in 1.05 but error in 1.08 and it is the calls to route
helper methods that seems to be the problem.
I did some playing around .. because the code being tested is
reasonably large etc ... but this sample (using the peepcode app)
seems to boil down the problem
2006 Jul 12
0
acts_as_authenticated and paypal
I''m working on a subscription form that has to be tied to paypal using
the paypal ipn plugin at http://elctech.com/products_ruby_paypal.shtml.
I''ve got my subscription (signup) form setup to include the creditcard
information as well as the billing address etc. It''s a modified version
of the signup form from the acts_as_auth plugin.
I want the model to not save if
2007 Aug 01
3
Test Rendering nothing in Rails
Hi
In a controller I have method that is accessed via an AJAX call and
will conditionally do:
render :nothing => true
to test the condition hitting this line I was hoping to do something
like:
response.should render_template(:nothing)
How should I test this behaviour?
Cheers
Shane
2008 Mar 10
10
tutes on testing controllers
hello spec''ers,
i''m in the hunt for guides on testing controllers with rspec, would
you guys recommend any?
thanks
Oliver
--
Oliver Azevedo Barnes
oli.azevedo.barnes at gmail.com
+55 11 9768 0193
http://www.linkedin.com/in/oliverbarnes
http://workingwithrails.com/person/4704-oliver-barnes
2008 Jan 11
0
Peepcode RSpec User Stories
http://peepcode.com/products/rspec-user-stories
Shane Mingins
ELC Technologies (TM)
1921 State Street
Santa Barbara, CA 93101
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax -
2007 Oct 04
3
Is stubbing a call to super possible?
Hi
Is stubbing a call to super possible? I am testing a protected
method called authorized in a Rails controller ... part of the logic
flow calls super which calls the method authorized in the application
controller.
As I am focused on the logic of the method in the controller I am
testing I just wish to stub the value returned in the super.
Is this at all possible?
Cheers
Shane
2007 Nov 30
4
Rendering a view and passing a variable
Hello all,
I have a view which display html based on the value of a variable. Here''s the code :
<% if @language == ''e'' %>
<%= link_to "Français", :action => :index, :id => "f" %>
<% end %>
In my test, I''m trying to set the value of the variable first, but that just doesn''t seem to work :
it
2014 Jun 16
1
KVM Forum 2014 Call for Participation
=================================================================
KVM Forum 2014: Call For Participation
October 14-16, 2014 - Congress Centre D?sseldorf - D?sseldorf, Germany
(All submissions must be received before midnight July 27, 2014)
=================================================================
KVM is an industry leading open source hypervisor that provides an ideal
platform for
2014 Jun 16
1
KVM Forum 2014 Call for Participation
=================================================================
KVM Forum 2014: Call For Participation
October 14-16, 2014 - Congress Centre D?sseldorf - D?sseldorf, Germany
(All submissions must be received before midnight July 27, 2014)
=================================================================
KVM is an industry leading open source hypervisor that provides an ideal
platform for
2003 Jan 08
2
[PATCH] Add .svn to the exclude list for --cvs-exclude
Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20030108/7b6ccd16/attachment.bin
2007 Dec 04
4
AutoTest / Rspec - "stack level too deep"
Hello,
I''m running AutoTest with Rspec on a Rails application.
Every 20 or so runs I get "stack level too deep" on one particular
controller stub.
Ex.
controller.stub!(:login).and_return(true)
This particular line is in a before block of a certain describe block. The
strange thing is, every single spec in this file fails on that one line,
even the specs in other describe
2008 Jan 30
9
catching errors, rspec basics
Trying to spec the following but don''t know if I''m using the right matcher.
How do I spec? Plz, sugar on tops.
Audience.stats
- should have a stats of 80 when passed a flux of 10
- should return an error when passed a string (ERROR - 1)
1)
TypeError in ''Audience.stats should return an error when passed a string''
String can''t be coerced into Fixnum
2006 Feb 07
21
Paypal and Rails
Hello everyone,
I am looking for a way to pass off a simple payment to paypal using our
own interface. I understand that this requires making full use of
Paypal''s API since we won''t be using their shopping cart or anything. I
found the article by Pranav Bihari on his site and in the Wiki on using
SOAP4R and the paypal WSDL file to interface with paypal web services,
but I
2006 Mar 27
15
Go Go Gadget - A Rails ecommerce site released today
I''ve just completed my first Ruby on Rails project, an online store for
electronic gadgets including digital cameras, MP3 players and PDAs.
It''s for Australian shoppers only, but everyone can take a look and
browse through!
http://www.gogogadget.com.au
All feedback, comments, etc are welcome.
Cheers,
Dan