Displaying 20 results from an estimated 6000 matches similar to: "seeking a rails 3 cucumber rspec example project"
2010 Jul 01
1
using rSpec stub in Cucumber with rSpec2
Hello,
I have a Rails3beta4 project where I want to use rSpec stubs in a Cucumber
feature. Unfortunately it looks like requiring ''spec/stubs/cucumber'' in
env.rb does not work anymore: I get a "no such file to load --
spec/stubs/cucumber (LoadError)" error.
Is it possible to use rSpec stubs in Cucumber with rSpec2? If not, is there
any other viable alternative?
Thanks
2009 May 06
0
Cucumber, Webrat, RSpec and Mechanize for Non-Ruby Apps
The folks here have given me the task of figuring out if cucumber can
be used successfully to test some of our apps.
I have the latest versions of rails, mechanize, cucumber webrat and
rspec installed.
#/cuketest/features/google.feature
Feature: New PC
In order to get a sweet new PC
As a apple nerd
I want to find apple.com
Scenario: Get a sweet new computer
Given I visit
2011 Aug 10
1
How to stop Rspec loading my Cucumber fixtures
I have a bunch of fixtures designed to populate the database for my Cucumber
integration tests.
But at this stage I want my database to be empty when using Rspec.
So, I moved the fixtures from `/spec/fixtures` to
`features/support/fixtures`, and updated `features/support/env.rb` to read:
Fixtures.reset_cache
fixtures_folder = File.join(RAILS_ROOT, ''features'',
2008 Sep 29
3
rspec-ui overlap with cucumber?
Hi!
I''m using cucumber + selenium and I love it. However I''m looking to
add some methods (example: click_and_wait etc) to the lib. Therefore
looked around a bit and I got two questions:
Firstly about rspec-ui, I''m a little confused, does rspec-ui overlap
with its propose with webrat with cucumber or I''m missing a point?
Secondly, are there any plans to
2008 Nov 19
6
RSpec, TestUnit, Cucumber and Autotest
OS=CentOS-5.2
Ruby=1.8.6
Rails=2.2.1_RC
Gems all up to date
I have been experimenting with autotest and I have a few questions.
1. given export AUTOFEATURES=TRUE if ./test exists (with tests) then
these tests are run and the features are not. Is this intended
behaviour?
2. given require ''autotest/redgreen'' in .autotest if /test tests are run
then all I get colourized is a
2012 Jun 14
1
Cucumber/RSpec ::: Capybara? Webrat What am I using??
Hey everybody
I''m currently reading through the Pragmatic Programmers RSpec book, and
I really enjoy it.
But I’m facing some problems because of the fact that the book is
already some years old, I guess. I have installed rvm and use Ruby
1.9.3, and I didn’t really get some Rails code examples to work
properly, so I tried it with a 1.8.7 installation, but there I had some
other problems
2010 Nov 10
2
[Cucumber]Which example fails??
I have the following test:
Feature: Test the login for all roles
In order to login
As user
I need to provide my password and username
Scenario Outline: Test login for role
Given user should exist with email: "test-g0R8lVqzWK4@public.gmane.org", name:
"tester"
And the user with email: "test-g0R8lVqzWK4@public.gmane.org" is a
2012 May 22
6
Beginning with BDD: Rspec or Cucumber? What is better documented?
Hey everybody
I''m sorry, I know that this question seems to arise every few moments,
but I
think in my case it''s a bit special (but doesn''t everybody?).
Well, I''m working with RoR on a private level since v1.0, and my
knowledge about both Ruby and Rails are on a basic level (but definitely
does exist), but I''m in no means near being an expert yet.
In
2009 Mar 09
10
Cucumber - RSpec matcher
I must be missing something obvious here but I cannot seem to see it.
I have this step definition:
When /entity named "(.*)" has a legal name "(.*)"/ do |name, legal|
myentity = Entity.find_by_entity_common_name!(name.hll_keycase)
myentity.entity_legal_name.should equal legal.hll_keycase
end
Which fails with this:
And the entity named "Myuser" has a legal
2011 Jan 20
11
RSpec / Cucumber painfully slow Rails 3 OSX
I am working on my first Rails BDD project with extensive tests since
starting out with Rails a few years ago.
Running RSpec or Cucumber is really slow. I''m using Rails 3 and RSpec
2.
To run one model spec with only 5 tests takes almost 1 minute! When it
finishes it says it took only 0.9 seconds to run the actual test. So
obviously it is loading the environment that takes so long. I just
2016 Mar 10
3
announcing an *early preview* of a cross-referencing code search website for LLVM
Hi,
I've found that one of the most useful tools in the Chromium project is its
code search website, http://cs.chromium.org/
At http://llvm-cs.pcc.me.uk/ you will find something similar for llvm. You
can search the full text of the llvm/clang/lld/lldb repositories using
regular expressions, search for declarations (which are prioritized above
full-text results), and follow cross references
2020 Jul 21
2
Example of Jitsi Desktop provisioning file
Hi,
Le ven. 10 juil. 2020 à 16:56, Sylvain Boily <sylvain at wazo.io> a écrit :
>
> It probably can help you:
>
> https://github.com/wazo-platform/wazo-provd-plugins/blob/master/plugins/xivo-jitsi/1/templates/base.tpl
>
> Sylvain
>
> Yes, provided example was exactly what I was after !
Thank you very much !
-------------- next part --------------
An HTML attachment
2010 Aug 04
2
fix for unsafe ssl options
While he was at it justdave also fixed the ssl options.
https://trac.xiph.org/ticket/1718
2009 Jul 06
3
Rspec book issue (mastermind example)
Hey Everyone,
Just a simple question. I have read and re-read the examples and I''m
not getting the proper output. I''m on page 73/74 of the Rspec book
and it says I should have "4 steps passed". I think the problem is
within my /step_definition/mastermind.rb" file. It''s definitely not
beyond me to make a mistake, but I have checked and double checked my
2009 Apr 10
1
where''s an example of an RSpec''d Rails or Merb site with RJS calls?
RSpeckers:
The time has come to plug assert_rjs_ into a matcher providing a grammar like
"should generate_js_to :replace_html...".
Does anyone have a lite website that uses Ajax and RSpec, for a reference
implementation? I need non-trivial challenges...
--
Phlip
2009 Mar 13
0
[cucumber] A Perl 5 mini-cucumber
Hi All,
I wrote a Cucumber version in Perl 5.
It''s very minimal, but maybe someone will find it interesting.
Check it out on http://github.com/kesor/p5-cucumber
-
evgeny
2010 Aug 06
1
fix for unsafe ssl options
Hi Niv,
Thanks for your comments. I'm CC'ing the patch author.
On Wed, Aug 04, 2010 at 05:37:44PM +0200, Niv Sardi wrote:
> Do we really need that many ?
> http://www.google.com/codesearch/p?hl=en#5KTrgOW2hXs/pub/nslu2/sources/vsftpd-2.0.4.tar.gz%7CXknrlk4c3C4/vsftpd-2.0.4/ssl.c&q=SSL_CTX_set_cipher_list
>
> vsftpd seems to only be including "DES-CBC3-SHA"
>
2012 Feb 02
1
Missing files with rails generate cucumber:install
when ranning cucumber:install
and generate me this files
<code>
create config/cucumber.yml
create script/cucumber
chmod script/cucumber
create features/step_definitions
create features/support
create features/support/env.rb
exist lib/tasks
create lib/tasks/cucumber.rake
gsub config/database.yml
gsub config/database.yml
force config/database.yml
</code>
im searching for the
2010 Feb 26
0
ruby script/cucumber -tags producing a gem error
When I do "ruby script/cucumber" the tests run no issues. When I do
the same thing but -tags tag_name I get a gem version error:
Where is it coming from and why??
Using the default profile...
RubyGem version error: rack(1.0.1 not = 1.1.0)
(Gem::LoadError)
F:/BACKUP/Backup/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:827:in
`report_activate_error''
2009 Feb 13
2
[cucumber][v0.2alpha]Where could I find API docs for custom formatters?
Hi,
I''m working on update my local Cucumber to the latest version. But it seems
the old formatter APIs(step_failed, scenario_executed, etc.) don''t work any
more. Are there some documents or even Cucumber source code I can refer to?
Thanks in advance,
Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: