Displaying 20 results from an estimated 300 matches similar to: "Capybara with redirect"
2013 May 25
1
Mysterious Application Error on Heroku
I converted my app to rails 4. My test suite is green and it runs great
locally. I then deploy to Heroku and it crashed with no information at
all.
It just says "Application Error. An error occurred in the application
and your page could not be served"
Heroku logs don''t give any info either:
-------------------------------------------------------------
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
I have searched a lot for a solution, but I could not find it! I am trying
to make a rails application after watching Michael Hartl''s tutorial and
when i fill data manually and submit it nothing happens and nothing records
in the Mailers table and I am facing the following error:
Failures:
1) Mailer pages mail us with valid information should send a mail
Failure/Error: expect
2009 Feb 02
5
[Cucumber] Cucumber and acts_as_xapian
Hey list,
Anyone have experience with acts_as_xapian and Cucumber? I''m
struggling with updating xapian''s index, to actually "find" fluff
that has been indexed..
In a scenario, I''m adding a bunch of articles, and in the actual
search step, I run:
When "I search for \"$query\"" do |query|
%x[rake RAILS_ENV=test xapian:update_index]
2011 Mar 21
1
Getting user session object in cucumber
Hi,
I am learning cucumber.
I have integrated the Devise with my rails 3 application.
My problem is I have to write a test which will create a project.
For that I have to make sure that user should be logged in. So I have
written the user login feature first which is working fine. After that I
have written the creation of project scenario. Whenever I am running
that scenario we are getting an
2010 Dec 20
1
Check whether link present nor not using cucumber
Hi,
I am using cucumber with webrat for testing my application.
I have admin role in my application.
When admin logs into the system he able to see the "Users" link which
gives an interface to manage users for admin. I have written the feature
like as follows:-
Feature: List All Users
So that Admin can manage users
Scenario: Login as Admin
When I login with user "username"
2008 Dec 02
4
Using Cucumber with latest Webrat
I added cucumber to my rails project using the following commands:
git submodule add git://github.com/aslakhellesoy/cucumber.git \
vendor/plugins/cucumber
ruby script/generate cucumber
git submodule add git://github.com/brynary/webrat.git \
vendor/plugins/webrat
git submodule add git://github.com/dchelimsky/rspec.git \
vendor/plugins/rspec
git submodule add
2007 Oct 24
3
Working with the response DOM
Hi,
Anyone know a way to traverse/query the DOM in a response?
I''m trying to write reusable story step implementations and as much as
possible want to work with the actual response from a previous GET.
As an example, I often have buttons that POST/PUT a hidden value.
My goal is a reusable step implementation that takes the button label and
works the existing response DOM to make an
2009 Apr 02
8
Problem with Custom matcher and Blocks
Hi,
I''m trying to write my first custom matcher.
Here''s a bit of my example group.
describe "/contact/index" do
include FormMatchers
before(:each) do
render ''contact/index''
end
it "should show the contact form" do
response.should have_a_contact_form
end
describe "the contact form" do
context
2010 Sep 04
6
Solidworks 2009 on Linux Mint 9
Hi all
I us Linux for some two years now, most of the time i us ubuntu ultimate edition.
since version 1.2 of wine I could also run Solidworks 2009.
The installation was made by the instruction on the AppDB:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=18101
Now I an trying to us Linux Mint 9 ( ubuntu 9.10 )
I installed wine 1.2 and tried to install Solidworks like I
2011 Jul 26
1
have_selector syntax?
Where are the docs for have_selector()?
rspec-rails 2.6.1
rails 3.0.9
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2013 Jan 09
2
Rails 3.2.10 and Rspec Tests that Fail?
The following tests used to reside in requests directory and used to
work ... since I have upgraded to rails 3.2.9 and now 3.2.10 they
fail.
I have the following tests in(I am only showing the first two tests):
spec/features/authentication_pages_spec.rb
require ''spec_helper''
describe "Authentication" do
subject { page }
2004 Oct 04
3
Cisco XML 411 Interface
Hi All,
Did anyone came across a 411 XML service I can feed to the "service"
button with XML?
Some other feed I can manipulate to XML query?
Assaf Benharoosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041004/dbf552ac/attachment.htm
2011 Oct 08
1
Rails view spec expectations/matchers
>From looking at the RSpec Rails documentation
(https://www.relishapp.com/rspec/rspec-rails/docs/view-specs/view-spec) it
seems like rendered is just a string and you can''t really do any
assert_select type stuff out of the box.
After Googling around, it seems that the RSpec authors decided that if you
want that functionality, you should just use Capybara or some such... is
that
2004 Jul 12
3
Smooth monotone estimation on R
Hi all,
I'm looking for smooth monotone estimation packages, preferably using splines.
I downloaded the 'cobs' package and intend to use it, but since it offers only quadratic splines based on L1 minimization, I'd like to compare its performance to that of a more 'mainstream' cubic-spline, L2-norm minimizing spline. Preferably a smoothing spline.
Does anyone know of such
2004 Oct 05
3
C flag in Dial command
For some reason I can't get the Dial command 'C' flag to work. The calls
are recorded in the CDR with the 'C' on. Does anyone have an idea?
extensions.conf:
exten => 114,1,Dial(SIP/114,,C)
It shows in the lastapp:
cdr:
| 2004-10-05 13:16:02 | "112" | | 114 | intern |
SIP/112-3fb6 | SIP/114-0e7a | Dial | SIP/114||c |
6 |
2005 Jan 07
7
Channel Variable
Hi all,
Does anyone know how to get the channel ID on the other side of the
call?
For example: When SIP/50 calls SIP/21, and the call is answered by
SIP/21 I get:
SIP/21-6735 answered SIP/50-b456
${CHANNEL} will show me SIP/50-b456.
Is there a parameter or a workaround to get the SIP/21-6735 part?
Thanks.
Assaf Benharoosh
-------------- next part --------------
An HTML attachment was
2011 Sep 26
1
Re: Solidworks 2009 on Linux Mint 9
I've noticed some problems with solidworks when using Enterprise Web Hosting (http://www.voipreview.org/enterprise-web-hosting) with my Small Business Web Hosting (http://www.voipreview.org/small-business-web-hosting)... After a couple of trying to redownload and messing around with it a couple of times, I can get it to work.
2012 Jul 22
1
RSpec/rails & Capybara: #within
I''m new with Capybara and after a good amount of google, I still can''t
figure out how the #within methods works!
I can use it only if I call visit before? There''s no way to use it on a
string, like the `page = Capybara.string(html_string)` trick?
When describe a view, I want something like that:
describe "path/to/view.html.erb" do
it "should pass"
2008 Jun 19
2
Samba hectic behaviour
Hello List.
I am having a very interesting problem with my samba server printer setup.
Some background , the samba server is Suse Enterprise 9 (x86_64 platform) , we are running
samba-3.0.26a-0.7 , with a connection to an openldap and sharing the printers via cupsd .
File sharing is working properly , so it's smooth sailing on that end , but the printing is acting
up .
some users are able
2010 Oct 20
3
rspec error's when checking LayoutLinks from the railstutorials
I am following the rails tutorial:
http://railstutorial.org/chapters/filling-in-the-layout#top
Basically the test is something like:
spec/requests/layout_links_spec.rb
require ''spec_helper''
describe "LayoutLinks" do
it "should have a Home page at ''/''" do
get ''/''
response.should