Displaying 20 results from an estimated 412 matches for "dchelimsky".
Did you mean:
chelimsky
2008 Jun 04
8
Not running correct specs under autotest:
I know this isn''t autotest-users but I''m not sure where else to bring this up:
[["app/controllers/contents_controller.rb", Wed Jun 04 14:11:03 +0100 2008]]
[["app/controllers/contents_controller.rb", Wed Jun 04 14:11:03 +0100 2008]]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S
script/spec -O spec/spec.opts spec/models/user_spec.rb
2008 Jun 11
11
rspec and rspec-rails install hell
...007-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 through to download one sees:
>From source (at github)
http://github.com/dchelimsky/rspec/wikis/home
http://github.com/dchelimsky/rspec-rails/wikis/home
BUT! If one tries to install via git-clone form this repository one sees this!
C:\temp\>git clone http://github.com/dchelimsky/rspec/wikis/home /tmprspec
Initialized empty Git repository in /tmprspec/.git/
Cannot get remote r...
2010 Jun 02
5
Programmatically counting RSpec tests?
If I have an object `obj` that is a SpecTask, and subsequently invoke
it, is there a way to programmatically determine the number of tests
that were successful, failed, and pending as a result of running that
SpecTask?
--
John Feminella
Principal Consultant, Distilled Brilliance
2007 Oct 18
12
first cut at blockless given/when/then
Hi all,
I committed a first cut at blockless Givens/Whens/Thens to RSpec''s trunk:
cd /path/to/rspec/project
svn up
cd rspec
bin/spec examples/story/calculator.rb
Take a look at examples/story/calculator.rb to see what''s going on.
Needs docs!!!!
Thoughts welcome.
I''ve also got a cut at the plain text parser checked in, but it''s not
hooked up to anything
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, at 6:...
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 be_routable matchers (Randy Harmon). Closes #843.
* Prov...
2007 Aug 08
25
Problems with RESTfully generated helpers
I am using helper the RESTfully generated helper methods in my views.
My routes are nested so the helpers appear to need arguments passed to
them, but it works without arguments. Say for example I have pages and
comments. If I do page_comments_path without parameters, it works.
However, when I run the rspec test, it fails and tells me i''m missing
parameters. I tried to pass
2007 Sep 08
11
changes to TextMate bundle
Hi all, I got some help from James Edward Gray II on the RSpec
TextMate bundle. For those of you who don''t know James, he runs the
Ruby Quiz and also maintains the official TM bundle.
Per a couple of patches from him and some advice that I acted on, many
of the shortcuts have changed.
The bad news is you''ll have to learn new shortcuts.
The good news is that the new shortcuts
2008 Mar 19
3
svn externals and git submodules
...efore
ruby script/plugin install http://rspec.rubyforge.org/svn/trunk/rspec_core
ruby script/plugin install
http://rspec.rubyforge.org/svn/trunk/rspec_on_rails
but it would be easier to install from git using git submodules
using git and calling from RAILS_ROOT
git submodule add git//github.com/dchelimsky/rspec_on_rails.git
vendor/plugins/rspec_on_rails
git submodule add git//github.com/dchelimsky/rspec_core.git
vendor/plugins/rspec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080318/902561ca/attachment.html
2007 Apr 28
7
[ rspec-Patches-9605 ] Patch for ER 9472, shared behaviour
...ng:
> http://rubyforge.org/tracker/?func=detail&atid=3151&aid=9605&group_id=797
>
> >Category: runner module
> Group: None
> >Status: Closed
> >Resolution: Accepted
> Priority: 3
> Submitted By: Bob Cotton (bcotton)
> >Assigned to: David Chelimsky (dchelimsky)
> Summary: Patch for ER 9472, shared behaviour
>
> Initial Comment:
> I chose behaves_as, as the inclusion method.
>
> I don''t like the use of the global, behavior_runner, in Behavior to find shared behaviors. Putting the collection on Spec::Runner seemed just as bad.
&g...
2007 Jul 24
4
Rspec on rails with out database?
Hi all,
I am trying to use rspec_on_rails in a Rails app that doesn''t have a
database. so far I have just been faking it out by dumping in a
sqlite3 database just to make Rails happy.
I was using for test::unit a rake task that eliminated the calls to
database prep:
# Added this .rake file to keep Rake happy without a database.
# Remove once a database is in the picture.
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 rspec-rails-1.2.0...
2008 Oct 10
5
Solution for autospec not working
...aken from version 1.1.4). autospec is now working for
me. Applicable code from my .autotest file: http://pastie.org/289183
github shows that the spec_command was removed on 7/12, with the
comment: "removed
spec_command from autotest/rspec (ruby works just fine)". See:
http://github.com/dchelimsky/rspec/commit/1aca72d0c5b5dc92c1ac9a4b94ccb8f6961067d2
Does autospec work for anyone? Does this issue only affect those of us
using Windows?
--
Dennis Sutch
dennis at sutch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec...
2011 Jan 30
5
Named routes problem... more rails than rspec
Howdy,
I have emailed before about the inconsistencies I''m spotting when using
named routes/resource, but I think I''ve narrowed down the issue. It would
seem this has nothing to do with rspec per se, but more with how routing
works with rails.
If you have an object instance, that isn''t saved and you attempt to generate
a path for that item, even though the item may
2007 Nov 13
7
rails story runner returning a nil response code
Has anyone noticed any problems with the Rails story runner returning
a response code of "0" when doing get/post/etc methods? I just
grabbed the latest rails/rspec and just started noticing this problem,
http://pastie.caboo.se/117497
Regular controller specs pass as expected.
--
Josh Knowles
phone: 509-979-1593
email: joshknowles at gmail.com
web: http://joshknowles.com
2008 Jun 05
2
RSpec Story - SystemStackError: stack level too deep
...If I remove the + at post.id bit, OR if I switch
the order execution of the Given statements, the story works. What''s
going on? Is this a bug, or am I just missing something?
Additionally, I''ve tried updating to RSpec Edge by running
"script/plugin install git://github.com/dchelimsky/rspec", but I keep
receiving Plugin not found: ["git://github.com/dchelimsky/rspec"].
--
Posted via http://www.ruby-forum.com/.
2007 Sep 05
6
Caveman Questions
Hello!
I''m just a caveman with some caveman questions.
I''ve been parsing Rspec for quite a while, and I''m writing my first series
of specs. My initial impressions are "Verbose, but understandable. Helpful
and intuitive, but so much to digest." I want to congratulate the folks who
are dedicating a chunk of their lives to writing this, and ask 2 caveman
2007 Apr 11
12
redirection doesn''t get detected well?
I''m doing a redirect in one of my controller actions and somehow I can''t
spec it, see this pastie: http://pastie.caboo.se/53120.
When following the link from a browser I''m being redirected to the right
page.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 May 30
9
Specify attr_protected
This is kind of a two part question.
Question One: I want to be sure that an Order model is protecting
sensitive attributes from mass assignment.
The example looks like this:
describe Order do
it "should protect total attribute from mass assignment" do
@order = Order.new(:total => 0.05)
@order.total.should_not == 0.05
end
end
And the code to implement it:
class Order
2007 Nov 12
15
it "should [action] ..." vs it with an active voice
I''d like to start gathering information/debating on the
advantages/disadvantages of using it "should ..." vs other techniques.
Dan North explained why we should use should:
http://dannorth.net/introducing-bdd/
I used to use it "should ..." for the projects I was on, until I was
challenged by a fellow developer who started using it with an active
voice.
For example