Displaying 20 results from an estimated 20000 matches similar to: "[rspec] Installation Problem"
2008 Dec 06
4
Autospec does not work w/ cucumber features?
Hi!
And now for the second part of the subject of my previous mails :)
$ cat cucumber.yml
default: .
autotest: -v .
autotest-all: -v -f progress .
$ cucumber -i . -f progress
PP
Pending Scenarios:
1) enlightenment (meditation)
$ AUTOFEATURE=true autospec # bug! prompt returns immediately, ZenTest gem not a dependency? a warning that autotest was not found would be nice.
$ sudo gem
2009 May 14
4
[Rspec] Problems with autospec
Hi guys, I am having a problem with autospec. I upgraded to
rspec-1.2.6, then I tried to run my specs with autospec. All my specs
passes (green), until here, that''s all ok. The problem is that after
all my specs have passed, the autospec stops, I mean, it doesn''t
continue to run on background. The same behavior happened if one of my
specs fails too.
Is this the current default
2009 Mar 15
0
rspec 1.2.0 Released
rspec version 1.2.0 has been released!
Behaviour Driven Development for Ruby.
Changes:
### Version 1.2.0
WARNINGS:
* If you use the ruby command to run specs instead of the spec command, you''ll
need to require ''spec/autorun'' or they won''t run. This won''t affect you if
you use the spec command or the Spec::Rake::SpecTask that ships with
2009 Oct 08
0
autospec cannont find gems
I am trying to install rspec for rails and have the following gems
install
C:\INSTAN~3.0-W\rails_apps\katai>gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.4, 2.0.2)
actionpack (2.3.4, 2.0.2)
activerecord (2.3.4, 2.0.2)
activeresource (2.3.4, 2.0.2)
activesupport (2.3.4, 2.0.2)
authlogic (2.1.2)
autotest-rails (4.1.0)
builder (2.1.2)
capistrano (2.5.9, 2.1.0)
cgi_multipart_eof_fix
2007 Apr 13
0
ZenTest 3.5 & RSpec 0.9
The latest release of Autotest, bundled in ZenTest 3.5, now has support for
running specs! No longer do we need to use the rspec_autotest plugin, now
it-just-works. The only problem is that the script is assuming you have the
rspec gem installed. If you''re keeping up with Edge RSpec on your Rails
project you''ve probably just included rspec and rspec_on_rails into your
2008 Jun 11
11
rspec and rspec-rails install hell
I am attending a training course covering rspec. I am using a MS WinXPpro SP3
machine. I have installed the cygwin environment. I am using git 1.5.4. I am
using ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] and rails 2.0.2
(albeit rails 2.1.0 is installed as well)
I had to install rspec-rails and rspec via git and as a gem.
Problem 1.
If one goes to the rspec.info website and links
2010 Aug 06
1
New bie question: Why use assert_equal when there are comparison operators in Rspec?
hi guys,
I''m reading up on Rspec, Mocha and some related material to put BDD
in my new rails app.
I have also checked out Ryan Bates'' railscasts on rspec (that''s how I
got to know about Mocha).
Reading up on the Rspec''s main site, the main example in
http://rspec.rubyforge.org/rspec/1.3.0/ does not show any use of
assert_equals. Rather it just uses the
2007 May 11
1
[Somewhat OT] Integrating RSpec and RCov results in Gem''s RDoc
I have a Gem on which the testing is done with RSpec. I would like to
include the results of RSpec and the RCov html files in the RDoc.
The problem is that when I have RDoc include the files, it winds up
escaping all the html. Is there a way to get HTML into RDoc
unprocessed? Or is there some other way I can distribute the RSpec/RCov
results with my Gem integrated with RDoc? I can include
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
2012 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2.
Running rspec on it brings about a large amount of these messages:
DEPRECATION WARNING: Passing a template handler in the template name is
deprecated. You can simply remove the handler name or pass render :handlers
=> [:haml] instead. (called from block (2 levels) in <top (required)> at
2008 Oct 10
5
Solution for autospec not working
Hello,
I have noticed that, since version 1.1.4, autotest/autospec does not run any
of my specs. After getting a hint from
http://b.logi.cx/2008/10/9/non-auto-spec, I dove a bit deeper into the code
and found that spec is no longer being run by ruby.
I monkey-patched Autotest::Rspec in my .autotest file so that spec is again
executed (using code taken from version 1.1.4). autospec is now
2009 Oct 06
3
rspec-rails 1.2.9 Released
rspec-rails version 1.2.9 has been released!
* <http://rspec.info>
* <http://rubyforge.org/projects/rspec>
* <http://github.com/dchelimsky/rspec-rails>
* <http://wiki.github.com/dchelimsky/rspec/rails>
* <rspec-devel at rubyforge.org>
Behaviour Driven Development for Ruby on Rails.
Changes:
### Version 1.2.9 / 2009-10-05
* enhancements
* added route_to and
2007 Apr 12
4
Installing rspec in Windows
Hi all,
I''m trying to install rspec and I''m having a problem.
C:\Users\Nathan\Documents\rails\myproject> gem install rspec
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed rspec-0.8.2
Installing ri documentation for rspec-0.8.2...
Installing RDoc documentation for rspec-0.8.2...
C:\Users\Nathan\Documents\rails\myproject> ruby
2007 Feb 17
0
RSpec 0.8.0-RC1
The RSpec Development Team is pleased to announce Release Candidate 1
of RSpec 0.8.0.
Since we''re doing a Release Candidate and we don''t really have a
separate gem server set up, everything you need is tagged in
subversion. See the install instructions below.
As we noted a few weeks back, this release comprises a new approach to
RSpec''s expectation syntax using
2010 Feb 18
4
Error installing some gems (Ruby 1.9.2)
Hi I am testing Ruby 1.9.2 and Rails 3.
Has anybody encountered this error:
web katz$ gem install rspec-rails
**************************************************
Thank you for installing rspec-rails-1.3.2
If you are upgrading, do this in each of your rails apps
that you want to upgrade:
$ ruby script/generate rspec
Please be sure to read History.rdoc and Upgrade.rdoc
for useful
2012 Jul 18
2
rspec-puppet and puppet doc conflicts
I recently started trying to use rspec-puppet and puppetlabs-rspec-helper.
When I ran ''rspec-puppet-init'' in one o fmy modules, it created a series of
symlinks.
Now, when I run puppet doc (via a rake task supplied by The Foreman, but
also when I call it directly) I get the following error:
Could not generate documentation: Definition ''mongodb::addmongouser''
2007 May 01
7
RSpec 0.9.1 released
The RSpec team is pleased to announce RSpec 0.9.1 (we skipped 0.9.0).
RSpec is a framework that provides programmers with a Domain Specific
Language to describe the behaviour of Ruby code with readable,
executable examples that guide you in the
design process and serve well as both documentation as tests.
This release includes a complete overhaul of the API, which can be
summarised as follows:
*
2011 Aug 09
0
Devise, RSpec and Webrat
My app is builded with rails 2.3.12, rspec-rails 1.3.2, webrat 0.7.3.
My spec_helper.rb
ENV["RAILS_ENV"] ||= ''test''
require
File.expand_path(File.join(File.dirname(__FILE__),''..'',''config'',''environment''))
require ''spec/autorun''
require ''spec/rails''
require
2007 Apr 13
21
ZenTest autotest now handles RSpec, yay!
Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest
3.50 now handles your RSpec specs.
http://blog.zenspider.com/archives/2007/04/zentest_version_350_has_been_released.html
That''s a great news.
Josh also shared with me a quick hack to make autotest work with only the
RSpec plugin installed.
Add the following into your ~/.autotest file
2009 Mar 21
0
Problem running Rdoc from Rake in Rails 2.3
People,
I''m getting an error from Rake I''d like to debug. Here is a
screendump:
Fri Mar 20 23:28 /b/tmp/myfc23 maco$ rake doc:plugins:rspec
(in /b/tmp/myfc23)
rdoc -o doc/plugins/rspec --title ''Rspec Plugin Documentation'' --line-
numbers --inline-source --charset utf-8 -T html vendor/plugins/rspec/
lib/autotest/discover.rb
major-snip
95% [107/112]