Displaying 20 results from an estimated 10000 matches similar to: "Trying to get rspec-rails working."
2010 Nov 10
0
no output from rspec -- fixed
Resend from 10/29/2010 due to bounce back. This is in reference to an email
sent to the group on On Oct 18, 2010, at 1:24 AM.
Short version: The solution was indeed to downgrade to test-unit 1.2.3
gem ''test-unit'', ''1.2.3''
Longer version: I went through my github repository and found a version
of my gemfile that worked with rspec. I then carefully compared
2010 Nov 20
4
How to get rspec running?
I''m quite new to RoR and recently worked through Michael Hartl''s Rail
Tutorial. Now that I had started my first own project and began with the
implementation of a first model and it''s controller. The tests I wanted
to implement just after that. However, I run into some error messages
when I want to start rspec (see below).
The Gemfile is the same as in the Tutorial
2010 Sep 27
3
having some issues with factory_girl and bundler...
Hi All
Need some brilliants minds here :)
I''m using Rails 2.3.8 & ruby 1.8 (I know, I know... )
I''ve move my gems from .gems to Bundler, but I''m having some issues with
Factory_girl when I rake spec
"uninitialized constant Factory"
I''m following the instructions from http://gembundler.com/rails23.html.
Basically:
- grab all config.gem and place
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
2010 Aug 08
0
Bad gemspec for rspec-core
I receive this message when bundling using this example project:
http://github.com/francois/rental_agency/tree/1ea252624e161ddc305a719d505a633d8d464e49
The included Gemfile references HEAD of rspec-core, and the gemspec
there has this issue:
Using rspec-core (2.0.0.beta.19) from git://github.com/rspec/rspec-core.git
(at master)
rspec-core at /Users/francois/.rvm/gems/ruby-1.9.2-rc2/bundler/gems/
2011 Oct 18
8
rspec 1.3.2, Rails 2.3.14 - plugins not loading
Hi there
I have a weird situation. I have inherited a project in Rails 1.2.3
that has been upgraded to Rails 2.3.14 (and is running). I have
installed Cucumber and Rspec to start to write features/tests for the
new code that needs to be written. In my Gemfile, these Gems are
loaded:
group :test do
gem ''rspec-rails'', ''~> 1.3.4'', :require =>
2011 Oct 26
1
problem profiling rspec boot time with ruby-prof
We recently upgraded to rspec2 / rails 3 and our specs are taking a
very long time to run. It takes nearly 12 minutes before the first
dot comes out. Before the upgrade, our entire suite of 6000+ specs
would run in about 6 minutes.
The majority of the delay seems to be during the loading of the spec
files. Adding instrumentation to the rspec-core lib/rspec/core/
command_line.rb, you can see
2011 Apr 27
2
rspec -> Could not find generator rspec_controller
for some reason, i cannot get the rspec generators to work. i am getting
the following:
$ rails generate rspec_controller
Could not find generator rspec_controller.
the rest of the parts of rspec (that i am familiar with) seem to be
doing just fine.
i am running:
* rails (3.0.5)
* rspec (2.6.0.rc2)
* rspec-core (2.6.0.rc2)
* rspec-expectations (2.6.0.rc2)
* rspec-mocks (2.6.0.rc2)
2010 Jun 20
7
rspec-rails 2.0.0.beta.12 showing undefined method error for route_to
First of all, I''ve been trying to find an answer for this problem all
over the internet without luck.
The thing is that I am using RVM with ruby 1.9.2-head and I created a
new empty gemset. Then I installed bundler gem with:
gem bundler install
That installed the library into the /Users/damselem/.rvm/gems/
ruby-1.9.2-head at rails3/gems directory. Then I went to my rails 3 app
2009 Mar 15
0
rspec-rails 1.2.0 Released
rspec-rails version 1.2.0 has been released!
* <http://rspec.info/>
* <http://wiki.github.com/dchelimsky/rspec>
* <http://wiki.github.com/dchelimsky/rspec/rails>
* <http://wiki.github.com/dchelimsky/rspec/upgrades>
Behaviour Driven Development for Ruby on Rails.
Changes:
### Version 1.2.0
IMPORTANT INFORMATION: Due to changes in Rails-2.3, there are some changes
in
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
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
2008 May 23
2
Error when trying to get the install RSpec from Github
Hi -- I''ve tried to get the latest RSpec by following the instructions
at:
http://github.com/dchelimsky/rspec/wikis/home
I clone the repository just fine, but then, when I ''rake gem'', I get the
following errors:
<OUTPUT>
svn: ''..'' is not a working copy
svn: Can''t open file ''../.svn/entries'': No such file or
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 Sep 21
3
RSpec beta 22 with Rails 3
I am working on a Rails 3 application. Recently bundler got an update for
rspec, which upgraded it to 22, (previously we were using beta 20).
After the update we are unable to run the old using ''rake spec:rcov'', while
running with ''rake spec'' is running fine.
When you do rake spec it does not give any output and finishes the task.
something like below :
$ rake
2010 Dec 06
0
Rspec: `should': uninitialized constant RSpec::Expectations (NameError)
Hi all, tried posting this to rspec group but w/o success so hope someone on
this list might be able to help me out as am kind of stuck:
Can anyone tell me why I am getting this error trying to ''rake spec'':
''kernel.rb:27:in `should'': uninitialized constant RSpec::Expectations
(NameError)''.
Can''t seem to find a useful reference online to
2008 Jun 13
0
rspec-users Digest, Vol 24, Issue 20
>
> Message: 4
> Date: Fri, 13 Jun 2008 11:47:22 -0500
> From: David Chelimsky <dchelimsky at gmail.com>
> Subject: Re: [rspec-users] rspec and rspec-rails install hell
> To: rspec-users <rspec-users at rubyforge.org>
> Message-ID: <EFE63242-19E9-42C5-AACD-16E239A9023B at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
2012 Aug 31
0
Announce: Facter 1.6.12-rc1 available
Facter 1.6.12-rc1 is a maintenance release candidate in the 1.6.x
branch with bug fixes.
Downloads are available at:
* Source: https://downloads.puppetlabs.com/facter/facter-1.6.12-rc1.tar.gz
RPMs are available at https://yum.puppetlabs.com/el or /fedora
Rubygem available at http://rubygems.org/gems/facter or by using
the --pre option to gem install.
Debs are available at
2008 Jun 02
3
GiT and RSpec
>
> Message: 2
> Date: Thu, 29 May 2008 06:35:01 -0700
> From: David Chelimsky <dchelimsky at gmail.com>
> Subject: Re: [rspec-users] Coloured output in rspec 1.1.4
> To: rspec-users at rubyforge.org
> Message-ID: <175B70FE-B706-4C03-8B20-C5B207268AD6 at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> On May 29, 2008,
2008 Sep 12
1
restful_authentication rspec failures "Mysql::Error: Incorrect datetime value:"
I am getting 193 failures that all have "Mysql::Error: Incorrect
datetime value:"
how do i fix this??? i am new to rspec and restful_auth, so if i am
doing something wrong, let me know!!!
windows xp
rails 2.1.1
rails testproject
cd testproject
# create my databases and edit database.yml
git init
git submodule add git://github.com/dchelimsky/rspec.git vendor/plugins/
rspec
git