On Jun 30, 2010, at 12:00 PM, ericindc wrote:
I am trying to use Shoulda matchers with the latest beta version of
RSpec for Rails 3. I've managed to track down the cause of my errors
to needing to explicitly set the subject, but the Shoulda examples
make no mention of requiring this step.
On Jun 29, 2010, at 5:08 PM, marcioa1 wrote:
Hi,
My index methods
def index
@galleries =
Gallery.filtered_by(params.reverse_merge!(:per_page =
10))
end
My spec:
it should list all galleries do
get :index
response.should
On Jun 29, 2010, at 4:05 PM, Josh Clayton wrote:
Hello all,
I'm running the latest stable rspec/rspec-rails (1.3.0/1.3.2) in a
Rails 2.3.8 app and am having trouble testing that a cookie gets
deleted.
In a semi-convoluted manner, I am essentially running code from the
rdoc as such:
On Jul 1, 2010, at 8:40 PM, ericindc wrote:
On Jul 1, 3:23 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 30, 2010, at 12:00 PM, ericindc wrote:
I am trying to use Shoulda matchers with the latest beta version of
RSpec for Rails 3. I've managed to track down the cause of my errors
On Jul 1, 2010, at 9:01 PM, ericindc wrote:
On Jul 1, 9:47 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jul 1, 2010, at 8:40 PM, ericindc wrote:
On Jul 1, 3:23 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 30, 2010, at 12:00 PM, ericindc wrote:
I am trying to use Shoulda
On Jul 1, 2010, at 9:35 PM, ericindc wrote:
On Jul 1, 10:32 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jul 1, 2010, at 9:01 PM, ericindc wrote:
On Jul 1, 9:47 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jul 1, 2010, at 8:40 PM, ericindc wrote:
On Jul 1, 3:23 pm
On Jul 1, 2010, at 10:32 PM, ericindc wrote:
On Jul 1, 11:10 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jul 1, 2010, at 9:35 PM, ericindc wrote:
On Jul 1, 10:32 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jul 1, 2010, at 9:01 PM, ericindc wrote:
On Jul 1, 9:47 pm, David
On Jun 30, 2010, at 8:45 AM, Marcos Chicote wrote:
Hello,
I'm new in Rspec and I would like to ask a question.
Suppose I have a test that fails raising an exception. I do not want the test
to raise an exception and I'm not expecting one, but something fails and an
exception occurs.
Is
if exception_occured_on_it_method?
do_something
end
end
Is that possible?
What problem are you trying to solve?
On Wed, Jun 30, 2010 at 10:58 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Jun 30, 2010, at 8:45 AM, Marcos Chicote wrote:
Hello,
I'm new in Rspec and I would like to ask a question
On Jun 30, 2010, at 9:29 AM, Marcos Chicote wrote:
On Wed, Jun 30, 2010 at 11:12 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Jun 30, 2010, at 9:05 AM, Marcos Chicote totochic...@gmail.com wrote:
I don't think so, but I don't really know how to check it programatically.
I don't mean
On Jun 30, 2010, at 10:46 AM, Marcos Chicote wrote:
On Wed, Jun 30, 2010 at 12:31 PM, David Chelimsky dchelim...@gmail.com
wrote:
On Jun 30, 2010, at 9:29 AM, Marcos Chicote wrote:
On Wed, Jun 30, 2010 at 11:12 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Jun 30, 2010, at 9:05 AM
On Jun 30, 2010, at 11:55 AM, Timo Rößner wrote:
On Jun 29, 12:14 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 29, 2010, at 2:50 AM, Timo Rößner wrote:
On Jun 28, 5:35 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 28, 2010, at 10:30 AM, Timo Rößner wrote:
On Jun 28
On Jun 29, 2010, at 2:50 AM, Timo Rößner wrote:
On Jun 28, 5:35 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 28, 2010, at 10:30 AM, Timo Rößner wrote:
On Jun 28, 5:03 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 28, 2010, at 10:00 AM, Timo Rößner wrote:
Hey guys,
I
On Jun 28, 2010, at 12:22 AM, Alex Crichton wrote:
I've got some helper methods in my ApplicationController which the
views use. In the view specs the methods are all undefined, however.
Is this intended and is there some setting I need to use to get the
methods included?
View specs don't
On Jun 28, 2010, at 6:10 AM, Julien wrote:
On Jun 27, 5:39 am, David Chelimsky dchelim...@gmail.com wrote:
On Jun 26, 2010, at 10:38 PM, geetarista wrote:
What I believe to be the fix is now up in github. Geetarista, would you do
me a favor and update your gemfile to point to the git repos
On Jun 28, 2010, at 10:00 AM, Timo Rößner wrote:
Hey guys,
I let the code speak for itself:
Below are my currently failing specs, please don't pay too much
attention to the specs themselves, I just want to give you a real
life example of what's happening - the only interesting thing
On Jun 28, 2010, at 10:30 AM, Timo Rößner wrote:
On Jun 28, 5:03 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 28, 2010, at 10:00 AM, Timo Rößner wrote:
Hey guys,
I let the code speak for itself:
Below are my currently failing specs, please don't pay too much
attention
On Jun 28, 2010, at 3:03 PM, Curtis j Schofield wrote:
On Mon, Jun 28, 2010 at 11:50 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Jun 28, 2010, at 1:31 PM, Curtis j Schofield wrote:
Hi - I extracted some methods in a refactor and put them into a nice
module and i'm in the process
Hey all,
For those of you interested in view isolation in controller specs, an issue has
been reported with ActionController's new respond_with method. Please take a
look at http://github.com/rspec/rspec-rails/issues/103 and add comments if you
have any thoughts on the matter.
Thanks,
David
On Jun 27, 2010, at 6:51 PM, Don French wrote:
I am trying to use rspec2 rails with rails3 beta 4. I created a simple
project and a couple of models. The basic test spec files are there.
When I run bundle spec:models I get what I expect. When I run bundle
autotest I get:
mauidev:testme
On Jun 27, 2010, at 10:32 PM, Woody Peterson wrote:
I always assumed have_tag was part of rspec, but it's not in rspec 2,
and looking now I don't see it in rspec 1 either. Webrat defines it, but
that seems like a coincidence (I tried requiring webrat/core/matchers to
no avail).
Is it
On Jun 25, 2010, at 4:51 PM, geetarista wrote:
Sorry about that. For some reason I thought Google Reader stripped
that automatically.
I added :require = nil because I had read somewhere that it was
good to do so. Can't remember why or where. Taking it out does not
fix the failure.
I
On Jun 25, 2010, at 4:51 PM, geetarista wrote:
Sorry about that. For some reason I thought Google Reader stripped
that automatically.
I added :require = nil because I had read somewhere that it was
good to do so. Can't remember why or where. Taking it out does not
fix the failure.
I
On Jun 26, 2010, at 12:13 PM, David Chelimsky wrote:
On Jun 25, 2010, at 4:51 PM, geetarista wrote:
Sorry about that. For some reason I thought Google Reader stripped
that automatically.
I added :require = nil because I had read somewhere that it was
good to do so. Can't remember why
On Jun 26, 2010, at 10:38 PM, geetarista wrote:
What I believe to be the fix is now up in github. Geetarista, would you do
me a favor and update your gemfile to point to the git repos:
gem rspec-rails, :git = git://github.com/rspec/rspec-rails.git
gem rspec-core, :git =
'
and it then fails.
I seriously doubt this will fix the problem, but try changing Rspec to RSpec on
line 11.
On Jun 24, 8:49 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 24, 2010, at 10:36 PM, geetarista wrote:
On Jun 24, 8:21 pm, David Chelimsky dchelim...@gmail.com wrote:
On Thu, Jun
On Fri, Jun 25, 2010 at 1:56 PM, Marcelo de Moraes Serpa
celose...@gmail.com wrote:
Hello guys,
Quick question: How could I just test if a redirect was made, without URL
whatsoever?
In rspec-1/rails-2:
response.should be_redirect
This is not in rspec-rails-2 yet, so you can just go with the
On Jun 25, 2010, at 4:00 PM, Marcelo de Moraes Serpa wrote:
On Fri, Jun 25, 2010 at 2:18 PM, David Chelimsky dchelim...@gmail.com wrote:
On Fri, Jun 25, 2010 at 1:56 PM, Marcelo de Moraes Serpa
celose...@gmail.com wrote:
Hello guys,
Quick question: How could I just test if a redirect
On Jun 25, 2010, at 5:02 PM, Patrick Gannon wrote:
Not sure if this is a Rails 3 issue or an RSpec 2 issue, but I can't seem to
get a standard controller test working - it seems that the 'get' method can't
be found.
I have a controller test that looks like this (named
On Jun 24, 2010, at 3:05 AM, Ivo Wever wrote:
Hey,
I'm migrating an app to Rails 3 + RSpec 2 and, as expected, a number of
specs broke. Unfortunately, I can't really find how to fix them. For
instance, there is a spec:
describe SessionsController do
describe route recognition do
it
On Jun 24, 2010, at 8:12 AM, Ivo Wever wrote:
Hey,
Thanks, that works fine and makes sense. Now there are also a few specs
that assert the inverse direction:
describe SessionsController do
describe route generation do
it should route the destroy sessions action correctly do
On Jun 24, 2010, at 9:30 AM, Valentino Lun wrote:
Dear all
For the scenario outline example:
Example:
| start | eat | left |
| 12 | 5 | 7 |
| 20 | 5 | 15 |
If my examples got 30 columns and 1000 rows. It would be difficult to
organize in the .feature file.
On Jun 24, 2010, at 1:23 PM, geetarista wrote:
I just upgraded to beta.13 and I'm running into an issue where when I
run 'rake spec', I get an 'uninitialized constant Comment' error.
Comment is the first model (alphabetically) in my project. If I
switch back to beta.12, it works. If I use
On Jun 22, 2010, at 8:10 PM, antonyw wrote:
Hello,
I have some code that is going to be used in other applications, so I
decided to bundle the code (mostly controllers and views) into a plugin to
make sharing easier. I copied the RSpec tests for the controllers into the
plugin as well.
On Jun 24, 2010, at 1:37 AM, anywho wrote:
Running into issues with latest rspec beta.
Beta.12 works flawlessly. Any insights are appriciated.
/mnt/bob/bob.building.app/vendor/bundle/gems/activesupport-3.0.0.beta3/
rspec-rails-2.0.0.beta.13 only works with rails-3.0.0.beta4.
HTH,
David
On Jun 22, 2010, at 3:29 AM, Timo Rößner wrote:
Hey guys,
i have a problem with latest rails 3 and rspec2.0.0.12beta.
When running most of my (with rails 2 and rspec 1 working) controller
specs i get:
route set not finalized
I reduced the problem to the max:
$ cat
, this thread has been about an issue with RSpec. You are having an
issue with Cucumber. I'd recommend posting it to the Cucumber google group:
http://groups.google.com/group/cukes
I'm sure someone there can advise.
Cheers,
David
On Jun 13, 11:08 pm, David Chelimsky dchelim...@gmail.com
On Jun 20, 2010, at 1:37 AM, Narayanan wrote:
Hi,
I have a library of RSpec Test examples. Now, from an upper ruby
layer, I need to run only individual separate test example from the
library that matches a particular string in the upper layer.
For Example:
My RSpec library file
PLEASE NOTE: rspec-rails-2.0.0.beta.13 requires rails-3.0.0.beta4.
If you are upgrading to rspec-rails-2.0.0.beta.13, you must also upgrade to
rails-3.0.0.beta4.
Apologies for any confusion caused by my not making an announcement about it
earlier.
Cheers,
David
On Jun 24, 2010, at 2:24 PM, geetarista wrote:
On Jun 24, 12:03 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 24, 2010, at 1:23 PM, geetarista wrote:
I just upgraded to beta.13 and I'm running into an issue where when I
run 'rake spec', I get an 'uninitialized constant Comment
On Thu, Jun 24, 2010 at 10:12 PM, geetarista geetari...@gmail.com wrote:
On Jun 24, 7:10 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 24, 2010, at 2:24 PM, geetarista wrote:
On Jun 24, 12:03 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 24, 2010, at 1:23 PM, geetarista
On Jun 24, 2010, at 10:36 PM, geetarista wrote:
On Jun 24, 8:21 pm, David Chelimsky dchelim...@gmail.com wrote:
On Thu, Jun 24, 2010 at 10:12 PM, geetarista geetari...@gmail.com wrote:
On Jun 24, 7:10 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 24, 2010, at 2:24 PM, geetarista
On Jun 23, 2010, at 8:16 AM, Julien Palmas wrote:
Daniel A. wrote:
Hmm... So what do you have in your gemfile? Just gem rspec-rails,
without the version? Do you know why there are some gems that are
installed in the bundler directory? Thank you very much !
In my gem file, for rspec-rails
On Jun 23, 2010, at 12:07 PM, Patrick J. Collins wrote:
Hi everyone.
I am totally confused by this... If I run rake spec, I get a bunch of
failures
in a particular file, but if I run script/spec on that individual file, all
examples pass.
The error I am getting is with the pluralize
On Jun 23, 2010, at 1:38 PM, Patrick J. Collins wrote:
Is this a rails helper module? Is the spec in spec/helpers?
Well it's not a module-- as in it's not getting mixed into any other class.
It's just being instantiated from helpers (and inside the spec).. But
since it utilizes helper
On Jun 23, 2010, at 3:25 PM, Patrick J. Collins wrote:
Why not just use a rails helper? Then you get all the other helpers and
environment for free.
Well, these are usually complex helpers that build a lot of html, and I
utilize
a lot of instance variables to share between methods... My
On Jun 22, 2010, at 2:09 AM, rogerdpack wrote:
The skinny of this request is that I'd find it more useful to actually
have the code displayed that failed on line 14, in this case, the word
fail
...
Already done in rspec-2. Likely won't backport it to rspec-1 for some time
(if ever).
On Jun 22, 2010, at 8:27 AM, Michael Schuerig wrote:
On Sunday 20 June 2010, Michael Schuerig wrote:
Are partial mocks supposed to work in rails-rspec 2.0.0.beta.12?
I'm trying to do things like
view.stub(:current_user).and_return(@user)
view.stub(:current_page?).and_return(false)
On Jun 22, 2010, at 10:06 AM, David Chelimsky wrote:
On Jun 22, 2010, at 9:58 AM, Michael Schuerig wrote:
On Tuesday 22 June 2010, David Chelimsky wrote:
On Jun 22, 2010, at 8:27 AM, Michael Schuerig wrote:
#_view (and #view in turn) creates just one ActionView::Base
instance the first
On Jun 22, 2010, at 9:58 AM, Michael Schuerig wrote:
On Tuesday 22 June 2010, David Chelimsky wrote:
On Jun 22, 2010, at 8:27 AM, Michael Schuerig wrote:
#_view (and #view in turn) creates just one ActionView::Base
instance the first time it is called. That's as it is intended.
The effect
On Jun 22, 2010, at 10:27 AM, rogerdpack wrote:
Failure/Error: Unable to find matching line from backtrace
Perhaps it isn't quite windows friendly?
That happens now and then when the error is in code generated with
eval(string) with no file and ref numbers. Has nothing to do with
On Jun 20, 2010, at 1:30 AM, Matt Wynne wrote:
On 19 Jun 2010, at 00:35, David Chelimsky wrote:
On Jun 18, 2010, at 5:02 PM, Marcelo de Moraes Serpa wrote:
Hi David, thanks for the reply,
Hmm, considering we have:
1) The ruby process where the spec is running
2) A mongrel server
On Jun 20, 2010, at 8:03 AM, David Chelimsky wrote:
On Jun 20, 2010, at 7:30 AM, Michael Schuerig wrote:
On http://github.com/rspec/rspec-rails under View specs there's an
example
describe events/index.html.erb do
it renders _event partial for each event do
assign(:events
On Jun 20, 2010, at 8:06 AM, David Chelimsky wrote:
On Jun 20, 2010, at 8:03 AM, David Chelimsky wrote:
On Jun 20, 2010, at 7:30 AM, Michael Schuerig wrote:
On http://github.com/rspec/rspec-rails under View specs there's an
example
describe events/index.html.erb do
it renders
On Jun 20, 2010, at 7:30 AM, Michael Schuerig wrote:
On http://github.com/rspec/rspec-rails under View specs there's an
example
describe events/index.html.erb do
it renders _event partial for each event do
assign(:events, [stub_model(Event), stub_model(Event)])
render
On Jun 20, 2010, at 9:35 AM, Michael Schuerig wrote:
On Sunday 20 June 2010, David Chelimsky wrote:
On Jun 20, 2010, at 7:30 AM, Michael Schuerig wrote:
On http://github.com/rspec/rspec-rails under View specs there's
an example
describe events/index.html.erb do
it renders _event
On Jun 20, 2010, at 10:34 AM, Wincent Colaiuta wrote:
El 20/06/2010, a las 15:09, David Chelimsky escribió:
On Jun 20, 2010, at 8:06 AM, David Chelimsky wrote:
On Jun 20, 2010, at 8:03 AM, David Chelimsky wrote:
On Jun 20, 2010, at 7:30 AM, Michael Schuerig wrote:
On http
On Jun 20, 2010, at 3:19 PM, Michael Schuerig wrote:
Are partial mocks supposed to work in rails-rspec 2.0.0.beta.12?
I'm trying to do things like
view.stub(:current_user).and_return(@user)
view.stub(:current_page?).and_return(false)
However, when I do that, the view uses its
On Jun 20, 2010, at 5:18 PM, Michael Schuerig wrote:
# in spec/spec_helpers.rb
config.include PartialHelpers, :example_group = {
:description = lambda { |description|
# FIXME this is a kludge as there is
# currently (rspec 2.0.0.beta.12)
# apparently no other way to
On Jun 19, 2010, at 3:54 PM, rogerdpack wrote:
Hi all.
Sorry if this is an old request...
Currently when a failure is reported it looks like this:
C:\dev\ruby\faster_rubygems\specspec
spec.faster_rubygems_cacheing.rb
F
1)
RuntimeError in 'FasterRubyGems cacheing Gem.bin_path should
On Jun 19, 2010, at 4:19 PM, Michael Schuerig wrote:
I'm in the process of moving an app from Rails 2.3.8 to 3. In the view
spec I'm currently migrating, I get the error
undefined method `link_to_xyz' for #ActionView::Base:0x7f2c4c0e4820
That method is defined in one of my helpers that
On Jun 19, 2010, at 5:24 PM, Brian Cardarella wrote:
On Jun 19, 1:27 pm, Brian Cardarella bcardare...@gmail.com wrote:
I see that I now need to pas -d or --debug with the rspec command line
tool to use ruby-debug. What about with Cucumber? RSpec 2.0 Core
overwrites Kernel#debugger that
On Jun 18, 2010, at 12:02 PM, Marcelo de Moraes Serpa wrote:
One thing that just came to my mind is to fake the requests on the app server
instance. One simple way to do that would be to just put the FakeWeb call in
a cucumber / culerity environment file. However, this is far from being
from the server. Makes it easier to test, log failures, etc, etc.
Anybody else here testing client side web service calls?
Thanks!
Marcelo.
On Fri, Jun 18, 2010 at 1:18 PM, David Chelimsky dchelim...@gmail.com wrote:
On Jun 18, 2010, at 12:02 PM, Marcelo de Moraes Serpa wrote:
One
On Jun 17, 2010, at 11:07 AM, Chuck Remes wrote:
I'm trying to test some code that can loop once or multiple times and assign
some values to another object. I want to test one of the values being
assigned to the object in the loop.
e.g.
class Foo
def bar
values =
On Jun 16, 2010, at 9:11 AM, Jarmo Pertman wrote:
Hello.
I wanted to include module into ExampleGroup to write less code within
examples, but was unable to do so. This seems to be strange, because
in regular Class it works and all methods within that module are also
accessible. See the
DatabaseCleaner.clean
end
end
Make sense?
Marcelo.
On Tue, Jun 15, 2010 at 5:32 PM, David Chelimsky dchelim...@gmail.com wrote:
On Jun 15, 2010, at 5:15 PM, Marcelo de Moraes Serpa wrote:
Hey all,
I have replaced Cucumber with Steak and I like the experience so far. It is
not as polished
Hey all,
Here's a post on filtering examples in rspec-2:
http://blog.davidchelimsky.net/2010/06/14/filtering-examples-in-rspec-2/
Cheers,
David
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hey all,
If you're interested in seeing rspec-2 get an API like cucumber tags, please
comment on http://github.com/rspec/rspec-core/issues#issue/37.
Cheers,
David
___
rspec-users mailing list
rspec-users@rubyforge.org
On Jun 15, 2010, at 5:15 PM, Marcelo de Moraes Serpa wrote:
Hey all,
I have replaced Cucumber with Steak and I like the experience so far. It is
not as polished as Cucumber in what comes to configuration, but it is simpler
and covers my needs perfectly. I've followed the trick to pass a
Por nada!
ps - em inglês, a frase é heads up :)
On Jun 15, 2010, at 5:27 PM, Marcelo de Moraes Serpa wrote:
Thanks for the heads out, David :)
On Mon, Jun 14, 2010 at 9:35 PM, David Chelimsky dchelim...@gmail.com wrote:
On Jun 14, 2010, at 7:05 PM, David Chelimsky wrote:
On Jun 14
On Jun 14, 2010, at 6:40 PM, Marcelo de Moraes Serpa wrote:
Hey guys.
I would like to test the following behavior:
render :update do |page|
page.replace_html 'errors', :partial = 'signup_errors', :locals
= { :errors = 'errors'}
end
}
I'm doing:
On Jun 14, 2010, at 7:05 PM, David Chelimsky wrote:
On Jun 14, 2010, at 6:40 PM, Marcelo de Moraes Serpa wrote:
Hey guys.
I would like to test the following behavior:
render :update do |page|
page.replace_html 'errors', :partial = 'signup_errors', :locals
rolling around
about how to best address this, and I'll follow up on that in a separate thread
in the next couple of days.
Cheers,
David
On Jun 11, 9:08 am, David Chelimsky dchelim...@gmail.com wrote:
On Thu, Jun 10, 2010 at 4:41 PM, jfran...@gmail.com wrote:
I might be missing something basic
On Jun 13, 2010, at 4:15 PM, Tom Stuart wrote:
Hi,
RSpec has long had the ability to set a message expectation for a stubbed
method without disrupting its (stubbed) return value. This is really helpful
for a variety of reasons, not least because it decouples the stubbed method's
return
as part of the rendering process?
See the bit on View Specs on
http://github.com/rspec/rspec-rails/blob/master/Upgrade.markdown
On Jun 13, 3:29 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 13, 2010, at 6:49 AM, Kristian Mandrup wrote:
assigns(:message).should eq(@message
,
Rodrigo.
Em 11-06-2010 14:44, David Chelimsky escreveu:
Sent from my iPhone
On Jun 11, 2010, at 1:30 PM, Rodrigo Rosenfeld Rosas lboc...@yahoo.com.br
wrote:
Now I'm getting:
no such file to load -- action_controller/integration
Backtrace, please
Am I missing something
On Fri, Jun 11, 2010 at 1:49 PM, rogerdpack rogerpack2...@gmail.com wrote:
The wiki (especially the index on its right hand)
http://wiki.github.com/dchelimsky/rspec/
currently (to me) feels a bit hard to navigate.
Given that my one request to github to allow for orderable right hand
index
On Fri, Jun 11, 2010 at 2:22 PM, Peter Fitzgibbons
peter.fitzgibb...@gmail.com wrote:
This came out of the mailer generator w/ Rspec-rails installed :
describe Notifier do
it should deliver activation instructions message do
@expected.subject = Activation instructions
@expected.to
On Fri, Jun 11, 2010 at 5:24 PM, David Chelimsky dchelim...@gmail.com wrote:
On Fri, Jun 11, 2010 at 2:53 PM, Rick DeNatale rick.denat...@gmail.com
wrote:
On Fri, Jun 11, 2010 at 11:17 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Jun 11, 2010, at 10:56 AM, Rick DeNatale wrote
On Sat, Jun 12, 2010 at 7:04 AM, David Chelimsky dchelim...@gmail.com wrote:
On Sat, Jun 12, 2010 at 7:01 AM, David Chelimsky dchelim...@gmail.com wrote:
On Fri, Jun 11, 2010 at 2:22 PM, Peter Fitzgibbons
peter.fitzgibb...@gmail.com wrote:
This came out of the mailer generator w/ Rspec-rails
On Sat, Jun 12, 2010 at 7:01 AM, David Chelimsky dchelim...@gmail.com wrote:
On Fri, Jun 11, 2010 at 2:22 PM, Peter Fitzgibbons
peter.fitzgibb...@gmail.com wrote:
This came out of the mailer generator w/ Rspec-rails installed :
describe Notifier do
it should deliver activation instructions
On Jun 12, 2010, at 9:05 AM, Stephen Smithstone wrote:
On 11/06/2010 03:07, Joseph DelCioppio wrote:
Guys,
I've got a private controller method which acts as a before_filter
that I'm trying to stub.
class TasksController ApplicationController
before_filter :load_user
..
On Sat, Jun 12, 2010 at 7:18 AM, David Chelimsky dchelim...@gmail.com wrote:
On Sat, Jun 12, 2010 at 7:04 AM, David Chelimsky dchelim...@gmail.com wrote:
On Sat, Jun 12, 2010 at 7:01 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Fri, Jun 11, 2010 at 2:22 PM, Peter Fitzgibbons
On Thu, Jun 10, 2010 at 4:41 PM, jfran...@gmail.com wrote:
I might be missing something basic here, but I'm stumped on this
error:
model code:
class CachedStat ActiveRecord::Base
def self.create_stats_days_ago(days_ago, human_id)
d = Date.today - days_ago.day
�...@prs =
On Jun 11, 2010, at 10:56 AM, Rick DeNatale wrote:
On Thu, Jun 10, 2010 at 4:10 PM, David Chelimsky dchelim...@gmail.com wrote:
On Thu, Jun 10, 2010 at 3:14 PM, geetarista geetari...@gmail.com wrote:
Since Rspec-Rails 2 is specifically geared toward Rails 3, I'm
wondering why it doesn't use
On Jun 11, 2010, at 9:34 AM, Remi Gagnon wrote:
Hi,
Its maybe not related to rspec but I can't figure out how to fix it. Here is,
In my helper(Rails) I got the piece of code :
sortie += link_to(entete_colonne + +
image_sens_tri,client_journal_activites_path(:ordre_tri =
On Fri, Jun 11, 2010 at 2:53 PM, Rick DeNatale rick.denat...@gmail.com wrote:
On Fri, Jun 11, 2010 at 11:17 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Jun 11, 2010, at 10:56 AM, Rick DeNatale wrote:
On Thu, Jun 10, 2010 at 4:10 PM, David Chelimsky dchelim...@gmail.com
wrote
On Wed, Jun 9, 2010 at 11:31 PM, Amiruddin Nagri amir.na...@gmail.com wrote:
I am trying to write custom matchers for RESTful behavior of my controllers.
I have created two matchers
be_created (
On Thu, Jun 10, 2010 at 11:38 AM, Kristian Mandrup kmand...@gmail.com wrote:
describe MessagesController, POST create do
before(:each) do
�...@message = mock_model(Message, :save = nil)
Message.stub(:new).and_return(@message)
end
context when the message fails to save do
On Thu, Jun 10, 2010 at 3:14 PM, geetarista geetari...@gmail.com wrote:
Since Rspec-Rails 2 is specifically geared toward Rails 3, I'm
wondering why it doesn't use railtie, the new generators, etc. Will
it stay this way or is it planned to support that?
It does use the new generators, and we
Change the directory name to requests (a la merb)
Sent from my iPhone
On Jun 10, 2010, at 10:35 PM, Rodrigo Rosenfeld Rosas lboc...@yahoo.com.br
wrote:
Hi guys,
I'm trying to port an application to Rails 3 but can't get my
integration tests to run.
I can't call the Webrat's method
On Jun 1, 2010, at 7:37 AM, John Topley wrote:
Hi,
I'm writing a gem that enumerates the files within a specified
directory and sub-directories. It's a module that has a single class
method that returns an array containing the file names, but that array
will also contain elements that
On Sat, May 29, 2010 at 10:08 PM, dyba dyba.r...@gmail.com wrote:
Hi:
I'm trying to find out why is it when I change the Rails directory
structure like so (app/controllers/physical/) does RSpec no longer
work? I moved all my controller files to app/controllers/physical.
Everything works fine
On Sat, Jun 5, 2010 at 8:24 PM, Trey t...@12spokes.com wrote:
Hi,
I'm in the process of upgrading an app to Rails 3/Rspec 2. I see that
stubbing a view helper method has changed in Rspec 2. It looks like
instead of doing template.stub!, we're now supposed to do view.stub!,
but I can't seem
On Fri, Jun 4, 2010 at 3:32 AM, jia jiazh...@gmail.com wrote:
Hi,
I noticed that compared with rails2.3 with rspec1.3, rails3 takes much
longer time for me to execute rspec and cucumber, and the cpu is
high(50%+).
It seems it takes most of the time for loading the environment; the
actual
/Upgrade.markdown.
HTH,
David
Thanks,
Amiruddin Nagri,
Bangalore, 560008, KA
India
Y! IM : amir_na...@yahoo.com
GTalk : amir.na...@gmail.com
On Tue, Jun 8, 2010 at 5:56 PM, David Chelimsky dchelim...@gmail.com wrote:
On Jun 8, 2010, at 4:05 AM, Amiruddin Nagri wrote:
I have a bunch
Please report this to http://github.com/rspec/rspec-rails/issues
On Thu, Jun 10, 2010 at 12:08 AM, Kristian Mandrup kmand...@gmail.com wrote:
undefined method `model_name' for Message:Class
---
# spec/views/messages/new.html.erb_spec.rb
class Message; end
describe messages/new.html.erb
On Jun 8, 2010, at 10:26 AM, Trey Bean wrote:
Hi,
I'm in the process of upgrading an app to Rails 3/Rspec 2. I see that
stubbing a view helper method has changed in Rspec 2. It looks like
instead of doing template.stub!, we're now supposed to do view.stub!,
but I can't seem to get this
On Jun 6, 2010, at 1:28 PM, Rob Lingle li...@ruby-forum.com wrote:
I found that I could get rid of my original error:
loading autotest/rails_rspec2
Autotest style autotest/rails_rspec2 doesn't seem to exist. Aborting.
By installing rspec-rails on my system:
sudo gem install rspec-rails
901 - 1000 of 2985 matches
Mail list logo