Displaying 20 results from an estimated 10000 matches similar to: "rspec-users Digest, Vol 24, Issue 20"
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 Jun 13
1
RSpec and Rails 2.1
ON: Fri, 13 Jun 2008 11:47:22 -0500, David Chelimsky <dchelimsky at gmail.com>
wrote:
>
> For some reason rails is not finding rspec in vendor/plugins. Don''t
> know why.
Has Rails 2.1.0 changed the loading precedence? Does it now use a gem in
preference to a plugin if both are available?
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne
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
2007 Mar 24
0
Using spec fixtures with integration tests
Hi all,
How can I use spec fixtures with rails integration tests ?
I''ve tried adding {{ fixtures "../../spec/fixtures/myfixture" }}
to the integration test but the fixtures are not loaded when I run the
rake task.
Rails doesn''t load symlinked fixtures either so I copied the files from
spec/fixtures for the time being. Not very DRY.
Any ideas ?
Keith
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
2008 Mar 12
1
Testing helper methods in rspec
This is perhaps a naive question, but what is the recommended manner of
testing a helper method in rspec? I have created a simple string manipulation
function and I want to write some tests for it. It it were a script then I
would just add if __FILE__ == $0 and add the tests below that but I do not
feel that this is the best way to handle a rails helper.
The code (I said it was simple) :
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
2008 Jun 15
2
RSpec story failing because of routing error on "/"
Greetings!
Here''s the problem.
When running tests on the restful_authentication plugin, I am getting
a routing error on "/".
Which I don''t really understand, because the route "/" certainly does
exist as I can confirm when I run ./script/server and point my browser
at http://localhost:3000/
Here is an example of the error I am getting when I run
2007 Apr 28
7
[ rspec-Patches-9605 ] Patch for ER 9472, shared behaviour
Hi all - I''ve applied (to trunk) Bob Cotton''s patch which supports
shared behaviours (link to tracker below).
I''m still toying w/ names, so please be aware that until this is
released w/ 0.9 it should be considered experimental and there will
NOT be translation support for it. It will definitely be included in
some form - just the names (specifically
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
2008 Jun 05
2
RSpec Story - SystemStackError: stack level too deep
I have a story that executes the following (as an example to show the
bug I''m experiencing):
----------------------------------------------
Given "I have a fake post saved" do
@postCount = Post.find(:all).length
@post = Post.new
@post.employee_id = 123
@post.name = "Name of the Post"
@post.description = "Description of the Post"
2007 Nov 24
5
rspec.opts
Where can I find a list of the options and their usage and meanings for
the contents of this file?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada
2008 Nov 12
1
rspec-users Digest, Vol 29, Issue 48
en.com
On: Wed Nov 12 12:46:54 EST 2008, Mark Wilden mark at mwild wrote:
> On Wed, Nov 12, 2008 at 9:27 AM, James B. Byrne <byrnejb at harte-
> lyne.ca> wrote:
>
>> Feature: Manage entities # features/manage_entities.feature
>>
>
> This is just a side note, but is "manage entities" really a feature? It
> sounds pretty vague. I''m not
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 Jan 14
6
RSpec stories introduction
I have played a bit with RSpec specs and now want to check out stories. I
note that there is no generator for rspec stories pre se (unless I managed
to miss all references to one ) and that the only directory relating to
stories added by installing rspec is ./stories itself.
The documentation at rspec.info seems to presume a great deal of prior
knowledge. What I am looking for is a guided tour
2009 Mar 08
2
rspec 1.1.99.12, Rails 2.3.1, undefined method `rspec_options=''
Hi David, all:
I recently upgraded to Rails 2.3.1RC2 (Ubuntu 8.10, ruby 1.8.7
(2008-08-11 patchlevel 72) [i486-linux]) and have been dilligently
following the instructions for upgrading rspec and rspec-rails
according to: http://wiki.github.com/dchelimsky/rspec/rails-with-rspec-gems.
and when I run ''rake gem'' fails with error:
rake aborted!
undefined method
2007 Nov 25
15
Possible Problem with RSpec and
Sorry to be such a pest but I am trying to learn Ruby, Rails and RSpec all
at one go and it is a bit overwhelming. I have previously completed the
depot tutorial in the Agile Web Dev with rails book and now I am trying do
do it again using RSpec.
What I would like to know now is why I am getting a rake failure error at
the end of every spec:models run. Is this the expected behaviour when a
test
2007 Nov 22
11
Initial run of RSpec 1.0.8 on MS-WinXPproSP2
Rails 1.2.5
Ruby 1.8.6
Rake 0.7.3
RSpec 1.0.8
PostgreSQL 8.2.5
I am experiencing a problem with the "rake spec spec" task on an initial
trial of rspec. After creating the rails app I installed rspec and
rspec_on_rails in the vendor\plugins subdirectory from svn. I then used
ruby script\generate rspec_model product. I next manually created the
database instances depot_development and
2011 May 22
0
Trying to get rspec-rails working.
Hi,
I have a rails 2.3.3 app I am migrating to 2.3.11. In the process I
am adding bundler support.
When I add rspec and rspec rails (1.3.4) to my gemfile, then try to
install rspec-rails per the instructions (here https://github.com/dchelimsky/rspec/wiki/rails)
using the config.gem method link, I can''t get the script/generate
rspec command to work (I am told rspec generator not
2007 Apr 27
0
it "should ...", encouraging "should" via it_should
On 4/27/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> Any other suggestions?
>
> In general, I''m much more inclined to favor an additional parameter
> passed to #it over a new method name.
Since I suggested in the other thread that perhaps during_event and
on_event could append text to the spec string, here''s another similar
(but simpler) suggestion