Is it that you don't understand the error message or you don't understand
what to do about it?
On Fri, Nov 22, 2013 at 9:39 AM, Richard Jones li...@ruby-forum.com wrote:
Hi,
I'm getting the error below, can someone explain what I need to do?
Failure/Error: @numbers.exchange(1).should
The lighthouse tracker was shut down years ago, sorry. But you can learn
about what works and what doesn't re: nested before/after hooks from
https://www.relishapp.com/rspec/rspec-core/docs/hooks and
http://rubydoc.info/gems/rspec-core/RSpec/Core/Hooks. Feel free to ask any
specific questions here
On Mon, Jun 10, 2013 at 3:47 AM, Oliver Jesus oliverjesus2...@yahoo.comwrote:
Hello! I need a little help.
If I run my rspec (rspec spec --backtrace) I've got error like this.
Please help my. I greatly appreciated your answers.
Finished in 14.39 seconds
173 examples, 6 failures, 5 pending
On Mon, Jun 10, 2013 at 4:25 AM, oliver oliverjesus2...@yahoo.com wrote:
%= f.select :group_name,
options_for_select(@group_mst.collect{|x| [x.group_name]}), {:multiple =
:multiple} %
that is on the line 44.
And the error raised on that line says The error occurred while evaluating
On Mon, Jun 10, 2013 at 4:39 AM, oliver oliverjesus2...@yahoo.com wrote:
def new
@user_mst = UserMst.new
@group_mst = GroupMst.all
Under normal circumstances, this line ^^ would assign @group_mst an empty
collection, not nil, so something is wrong with the way things are set
On Mon, Jun 10, 2013 at 5:09 AM, oliver oliverjesus2...@yahoo.com wrote:
--- On *Mon, 6/10/13, David Chelimsky-2 [via Ruby] [hidden
email]http://user/SendEmail.jtp?type=nodenode=4991637i=0
* wrote:
From: David Chelimsky-2 [via Ruby] [hidden
email]http://user/SendEmail.jtp?type=nodenode
On Mon, Jun 10, 2013 at 5:18 AM, oliver oliverjesus2...@yahoo.com wrote:
# ./app/views/employee_msts/new.html.erb:3:in
`_app_views_employee_msts_new
_html_erb__385952098_22995768_655956278'
#
C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.9/lib/action_view/temp
late.rb:135:in
On Mon, Jun 10, 2013 at 5:53 AM, oliver oliverjesus2...@yahoo.com wrote:
C:\Documents and Settings\Oliver\Desktop\amsrspec
spec/views/user_msts/new.html
.erb_spec.rb:19 --backtrace
Run filtered including {:line_number=19}
F
Failures:
1) user_msts/new.html.erb renders new user_mst form
On Sun, Jun 9, 2013 at 12:29 AM, Prasun Prabhakar li...@ruby-forum.comwrote:
Hello,
We need to integrate Jenkins with TestLink. For now Iam able to run
Selenium-WebDriver test cases from Jenkins using the inputs from
TestLink. Now the problem is the reverse communication where the Jenkins
On Fri, Jun 7, 2013 at 5:02 AM, Oliver Jesus oliverjesus2...@yahoo.comwrote:
Hello, I am new to RSpec and I've got error something like this:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.collect
In my
On Thu, May 30, 2013 at 2:44 AM, Alexander Baronec abo...@gmail.com wrote:
Hello.
I have a test problem when I should test arguments in method not by exact
matching buy with fuzzy matching.
For example I have this test:
require 'rspec'
describe do
it do
o = Object.new
On Wed, Mar 20, 2013 at 11:21 AM, Ezequiel Delpero li...@ruby-forum.com wrote:
Finally I could solve the problem. The problem was on the definition of
the anonymous controller on the spec:
instead of:
controller do
def index
end
end
I used:
On Tue, Mar 19, 2013 at 7:20 AM, Иван Неверов ivan.neve...@gmail.com wrote:
Hi all
Could somebody tell me, is it possible to assign some tag=value to all
examples in directory?
Like I want to mark all tests in spec/unit as :type='shallow'. And have
some tests in other directory also with
On Tue, Mar 19, 2013 at 9:52 AM, Perry Smith pedz...@gmail.com wrote:
On Mar 19, 2013, at 10:41 AM, David Chelimsky wrote:
On Tue, Mar 19, 2013 at 7:20 AM, Иван Неверов ivan.neve...@gmail.com wrote:
Hi all
Could somebody tell me, is it possible to assign some tag=value to all
examples
On Sat, Mar 16, 2013 at 7:56 AM, Dan Brooking dmbrook...@gmail.com wrote:
I'm working on a small Sintra app and am having trouble getting my stub to
return what I want it to. I've been searching and found quite a few with
this question but no real answers. I also posted this to the sinatrarb
issue where I need to
reference it in a certain way. It's such a small method, I don't really
need to test this but it's used in other modules so I wanted to isolate this
to ensure I've got the stubbing down right.
Thanks!
On Sat, Mar 16, 2013 at 9:58 AM, David Chelimsky dchelim...@gmail.com
You'll probably get more and better feedback from
https://groups.google.com/forum/?fromgroups#!forum/cukes
On Mon, Mar 11, 2013 at 3:31 PM, Dan Williams deft.of.cen...@gmail.com wrote:
Hey everybody,
I have been beating my head on the wall when dealing with creating cucumber
features in a
See https://github.com/thoughtbot/factory_girl/blob/master/GETTING_STARTED.md
It's FactoryGirl, not Factory (which used to be the correct constant,
but is no longer).
On Thu, Feb 28, 2013 at 8:44 AM, ruby rails li...@ruby-forum.com wrote:
I have installed factory_girl_rails gem in Gemfile for
On Thu, Feb 28, 2013 at 12:57 PM, ruby rails li...@ruby-forum.com wrote:
Hi,
I am using Factory girl with rspec and capybara for testing my rails
appliction. I have the below code
FactoryGirl.define do
factory :user do |f|
f.email s...@gmail.com
f.userkey 12ssd345q62
end
end
On Mon, Nov 19, 2012 at 7:22 AM, Suman I. li...@ruby-forum.com wrote:
Hi I am new to using Cucumber. I am new to Ruby basically.
This is an RSpec mailing list. Please send this query to the Cucumber
mailing list: https://groups.google.com/group/cukes
We're here if you have any RSpec questions.
On Sat, Nov 17, 2012 at 3:51 PM, dougui dougui_...@hotmail.com wrote:
Hello,
I read a lot about rails and BDD and I think I've found my own path. I want
to share my method and to know what you think about that.
This is my workflow :
Creation of feature specs (example 1);
Only the happy
On Wed, Oct 24, 2012 at 12:26 PM, Kevin McCaughey li...@ruby-forum.com wrote:
Hi,
I am doing the rails tutorial and there is a line:
expect { click_button submit }.not_to change(User, :count)
When I looked up the rspec docs and book too, I found:
change {} documentation (using curly
On Thu, Oct 18, 2012 at 6:58 PM, Rodrigo Rosenfeld Rosas
lboc...@yahoo.com.br wrote:
My specs work fine with this in my Gemfile.lock:
grep rspec Gemfile.lock
rspec (2.11.0)
rspec-core (~ 2.11.0)
rspec-expectations (~ 2.11.0)
rspec-mocks (~ 2.11.0)
rspec-core
On Sun, Sep 23, 2012 at 7:55 PM, S Ahmed sahmed1...@gmail.com wrote:
I have a class that takes a class that inherits from activerecord as a
parameter, e.g.:
class SomeModel ActiveRecord::Base
end
class MyClass
attr_accessor :model
def initialize(model)
@model = model
end
end
of the MyClass, so they
shouldn't have to be depending on the dependancies of Myclass.
That's basically it.
On Sun, Sep 23, 2012 at 8:31 PM, David Chelimsky dchelim...@gmail.com
wrote:
On Sun, Sep 23, 2012 at 7:55 PM, S Ahmed sahmed1...@gmail.com wrote:
I have a class that takes a class
On Fri, Sep 14, 2012 at 11:20 AM, S Ahmed sahmed1...@gmail.com wrote:
I tried adding this to my application.rb:
config.generators do |g|
g.view_specs false
g.helper_specs false
end
See Customizing your workflow on http://guides.rubyonrails.org/generators.html
According to that, you
On Fri, Sep 14, 2012 at 11:31 AM, ankush m. li...@ruby-forum.com wrote:
Hello all,
I recently developed a CLI extending thor API.
While i was trying to write specs for thor's tasks, I couldn't find any
way to write the same for tasks with mandatory options or with options.
So can
On Sun, Sep 9, 2012 at 1:00 AM, jeevan reddy li...@ruby-forum.com wrote:
controller code:
class BooksController ApplicationController
def index
param1, param2 = 123, 456
@test = method_1(param1, param2)
end
private
def method_1(param1, param2)
return test
end
end
On Fri, Sep 7, 2012 at 2:14 PM, Anand K V R. li...@ruby-forum.com wrote:
Hi Friends.
I'm an absolute Tester (little experience on development upto college
level) and had been asked to Test an application developed in Rails. As
our client selected Rspec, I have no other go.
Can anyone help
On Tue, Sep 4, 2012 at 12:57 AM, Fahim Patel pafa...@gmail.com wrote:
https://groups.google.com/forum/?fromgroups#!forum/cukes.
this link is not opening...
can u give me accurate link...
Try http://groups.google.com/group/cukes
___
rspec-users
On Sat, Sep 1, 2012 at 6:43 AM, Fahim Patel pafa...@gmail.com wrote:
Selenium automates web browsers.
Cucumber automates tests.
can u please explain this line??
Please read the docs for these tools:
http://cukes.info/
http://seleniumhq.org/
thanks
can u give answer on this questions
On Fri, Aug 31, 2012 at 10:14 AM, Fahim Patel pafa...@gmail.com wrote:
Hi all
I work on Rspec and now i see some more framework which is cucumber and
silenium
I have one question..
Which one is best for high level testing between cucumber and silinium?
can we use both cucumber and
On Wed, Aug 22, 2012 at 12:40 AM, Fahim Patel pafa...@gmail.com wrote:
friends there is no reply from Rails community.Lots of days are gone.
can u answer this problem.
Regards
Fahim Babar Patel
-- Forwarded message --
From: Fahim Patel pafa...@gmail.com
Date: Fri, Aug 17,
On Wed, Aug 22, 2012 at 12:56 AM, Bas Vodde b...@odd-e.com wrote:
Hiya all,
I was trying to get and_raise to raise an exception filled with a message and
I was struggling with the API for a while (not on the latest RSpec, but
assume it didn't change).
Based on that, I have a suggestion
On Wed, Aug 22, 2012 at 6:43 AM, Bas Vodde b...@odd-e.com wrote:
On 22 Aug, 2012, at 7:25 PM, David Chelimsky dchelim...@gmail.com wrote:
On Wed, Aug 22, 2012 at 12:56 AM, Bas Vodde b...@odd-e.com wrote:
Hiya all,
I was trying to get and_raise to raise an exception filled with a message
On Wed, Aug 22, 2012 at 6:55 AM, David Chelimsky dchelim...@gmail.com wrote:
On Wed, Aug 22, 2012 at 6:43 AM, Bas Vodde b...@odd-e.com wrote:
On 22 Aug, 2012, at 7:25 PM, David Chelimsky dchelim...@gmail.com wrote:
On Wed, Aug 22, 2012 at 12:56 AM, Bas Vodde b...@odd-e.com wrote:
Hiya all
On Wed, Aug 22, 2012 at 7:52 AM, J. B. Rainsberger m...@jbrains.ca wrote:
On Tue, Aug 21, 2012 at 11:37 PM, Bas Vodde b...@odd-e.com wrote:
JB is right.
Sometimes, for clarity, it is useful to add should_not, but for
functionality it is usually not needed.
I know JMock has never() for
On Wed, Aug 22, 2012 at 9:16 AM, J. B. Rainsberger m...@jbrains.ca wrote:
On Wed, Aug 22, 2012 at 10:07 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Wed, Aug 22, 2012 at 7:52 AM, J. B. Rainsberger m...@jbrains.ca wrote:
On Tue, Aug 21, 2012 at 11:37 PM, Bas Vodde b...@odd-e.com wrote
On Thu, Aug 16, 2012 at 1:06 AM, Fahim Patel pafa...@gmail.com wrote:
let me explain this problem
---rails destroy
Please post questions about Rails to the Rails mailing list:
On Fri, Aug 10, 2012 at 8:22 AM, Iain Barnett iainsp...@gmail.com wrote:
Hello,
I have a class that takes callbacks and stores them for later use. It
supplies a default block for all the other methods to use, and you can set a
new default if you like. I want to check that the new default is
On Mon, Aug 6, 2012 at 3:48 AM, Alexander Baronec abo...@gmail.com wrote:
2012/8/5 David Chelimsky dchelim...@gmail.com
On Sat, Aug 4, 2012 at 1:46 PM, Alexander Baronec abo...@gmail.com
wrote:
Hello.
How can I test object to receive message and compare arguments of this
message
On Mon, Aug 6, 2012 at 9:21 AM, Alexander Baronec abo...@gmail.com wrote:
2012/8/6 David Chelimsky dchelim...@gmail.com
On Mon, Aug 6, 2012 at 3:48 AM, Alexander Baronec abo...@gmail.com
wrote:
2012/8/5 David Chelimsky dchelim...@gmail.com
On Sat, Aug 4, 2012 at 1:46 PM, Alexander
On Sat, Aug 4, 2012 at 1:46 PM, Alexander Baronec abo...@gmail.com wrote:
Hello.
How can I test object to receive message and compare arguments of this
message with value evaluated at present time? It is possible?
For example:
should_receive(:api_send).with( - { players.count } ) And
On Fri, Aug 3, 2012 at 9:33 AM, Steve Loo isig...@gmail.com wrote:
I am using mock_model in my tests, and I encountered a situation where my
stub is failing.
You want stub_model for this case because you're counting on
functionality that is built into your real model.
See
On Thu, Aug 2, 2012 at 4:24 PM, Patrick J. Collins
patr...@collinatorstudios.com wrote:
I have a model with an observer that emails out upon creation, and I
want to do some testing of emails that get generated via various
actions... So I was hoping I could do:
# spec_helper.rb
On Thu, Aug 2, 2012 at 6:29 PM, Patrick J. Collins
patr...@collinatorstudios.com wrote:
let! adds a before hook and before hooks get run in the order they're
declared, so just declare them in the other order:
let!(:yo_momma) { create_yo_momma }
config.before(:each) do
On Thu, Jul 26, 2012 at 6:07 AM, deepak kannan kannan.dee...@gmail.com wrote:
hi,
rails minitest has assertions for assert_generates, assert_recognizes and
assert_routing
rpsec's routes_to delegates to assert_recognizes
http://rubydoc.info/gems/rspec-rails/frames
But there is no mention
On Thu, Jul 26, 2012 at 4:06 PM, James Cox ja...@imaj.es wrote:
so yes, pending is ok, but a second keyword broken might be nicer,
which would act the same but output different info.
You can actually do that!
RSpec.configuration do |c|
c.alias_example_to :broken, :pending = Broken
end
On Thu, Jul 26, 2012 at 4:08 PM, James Cox ja...@imaj.es wrote:
Chris,
On Tue, Jul 24, 2012 at 4:54 PM, Chris Flipse cfli...@gmail.com wrote:
On Tue, Jul 24, 2012 at 1:55 PM, James Cox ja...@imaj.es wrote:
so yes, pending is ok, but a second keyword broken might be nicer,
which would act
in nearly every xUnit/xSpec, but
pending is by far the best. Kudos.
On Jul 23, 2012 9:57 PM, David Chelimsky dchelim...@gmail.com wrote:
On Mon, Jul 23, 2012 at 11:19 AM, James Cox ja...@imaj.es wrote:
Hey,
in a bunch of the rescues i've recently done, I see a pretty big anti
pattern: tests
On Thu, Jun 28, 2012 at 2:11 PM, Dennis Kuczynski
dennis.kuczyn...@gmail.com wrote:
In an ActiveRecord model, I have an after_commit callback (:enqueue_job)
which places a job on my background processing queue (Sidekiq)
To test that the callback was firing when the database transaction
was
On Mon, Jun 25, 2012 at 6:07 PM, Avi Tzurel a...@kensodev.com wrote:
Hi,
We upgraded our app from 3.0.9 to 3.2.5.
Latest Rspec version running of course.
When I run rspec command, I get uninitialized constant error.
The constant that Rspec is alerting on is in the initializers class.
it
in initializers
https://gist.github.com/2991809
--
Sincerely,
Avi Tzurel
English blog: http://www.kensodev.com
Hebrew Blog: http://he.kensodev.com
On Tuesday, June 26, 2012 at 1:25 AM, David Chelimsky wrote:
On Mon, Jun 25, 2012 at 6:07 PM, Avi Tzurel a...@kensodev.com wrote:
Hi,
We
On Fri, Jun 22, 2012 at 4:34 AM, Joshua Muheim li...@ruby-forum.com wrote:
Hey everybody
I came here through the RSpec Book, so I grant myself to ask something
about Cucumber here. ;)
You can ask, but you'll probably have a more well versed
Cucumber-using audience on the Cucumber list:
On Fri, Jun 22, 2012 at 4:36 AM, Joshua Muheim li...@ruby-forum.com wrote:
It seems I have to use
page.should have_content(...)
instead of
response.should have_content(...)
Maybe that's because Capybara is the default engine now and not Webrat?
While Capybara seems to have become the de
On Tue, Jun 19, 2012 at 12:16 AM, Patrick J. Collins
patr...@collinatorstudios.com wrote:
Hi everyone,
I ran into a little problem this evening and couldn't quite figure out
how to solve it...
snip/
So, then I had a controller test like:
describe FooController do
it_behaves_like omg,
On Thu, Jun 7, 2012 at 11:51 AM, Robbie Leib rob...@onthecity.org wrote:
*
*
rspec.rake
*
*
gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f = 1.9
On Fri, Jun 8, 2012 at 4:03 PM, Michael Madrid li...@ruby-forum.com wrote:
'm using rspec 2.10 with Rails 3.2.1 and have problems with classes not
being found.
I have put a class called DbTasks under a dir app/util. Under spec, i've
created file util/db_tasks_spec.rb which runs afer i
On Thu, Jun 7, 2012 at 4:00 AM, Rainer Kuhn rai...@incutio.com wrote:
I narrowed it down to three things, the first one might be interesting to
you, the other ones are my problem, although probably common among lots of
projects:
Since we don't mock we usually need a bit of test data prepared
On Thu, Jun 7, 2012 at 5:54 AM, David Chelimsky dchelim...@gmail.com wrote:
On Thu, Jun 7, 2012 at 4:00 AM, Rainer Kuhn rai...@incutio.com wrote:
I narrowed it down to three things, the first one might be interesting to
you, the other ones are my problem, although probably common among lots
On Thu, Jun 7, 2012 at 6:17 AM, Rainer Kuhn rai...@incutio.com wrote:
My guess was wrong, it can't seem to handle empty fixtures yml files. The
gist contains only a brief snippets of the actual log, but you can see that
it's trying to load fixtures from multiple specs
Chelimsky dchelim...@gmail.com
wrote:
On Thu, Jun 7, 2012 at 5:54 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Thu, Jun 7, 2012 at 4:00 AM, Rainer Kuhn rai...@incutio.com wrote:
I narrowed it down to three things, the first one might be interesting
to
you, the other ones are my problem
the testing tools is tricky to balance for
devs.
On Thu, Jun 7, 2012 at 12:15 PM, David Chelimsky dchelim...@gmail.com
wrote:
On Thu, Jun 7, 2012 at 5:54 AM, David Chelimsky dchelim...@gmail.com
wrote:
On Thu, Jun 7, 2012 at 4:00 AM, Rainer Kuhn rai...@incutio.com wrote:
I narrowed it down
On Tue, Jun 5, 2012 at 3:47 PM, Robbie Leib rob...@onthecity.org wrote:
Rails 2.3.14 app
rspec (1.3.2)
rspec-rails (1.3.4)
When I run bundle exec rake spec, not matter what, I get:
0 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications
This is not rspec's
On Wed, Jun 6, 2012 at 5:14 AM, Rainer Kuhn rai...@incutio.com wrote:
[This is my third and final attempt to post to this group, first 2 were with
google groups]
The google group is a mirror of the rspec-users list, but for that to
work you actually have to post to the rspec-users list, not the
There's a lot there. Redis, fog, all the macros modules. Any of them
could be contributing.
On Wed, Jun 6, 2012 at 12:24 PM, David Chelimsky dchelim...@gmail.com
wrote:
On Wed, Jun 6, 2012 at 5:14 AM, Rainer Kuhn rai...@incutio.com wrote:
[This is my third and final attempt to post
On Mon, May 14, 2012 at 2:23 PM, S Ahmed sahmed1...@gmail.com wrote:
Other than jumping into the codebase myself, I was wondering if anyone has
done a high-level (or better yet low level) write-up on how rspec works
under the covers?
The RSpec Book has a fairly deep discussion on the inner
On Fri, May 11, 2012 at 9:24 AM, Alexandre de Oliveira
chavedomu...@gmail.com wrote:
Hey guys, could you help me (in)validating an idea?
As you might know, Contract tests solve a problem stubs have: if the
object interface changes, the stubbed tests will continue passing.
In RSpec, it's
On Wed, May 9, 2012 at 11:14 PM, Patrick J. Collins
patr...@collinatorstudios.com wrote:
I have a view with some javascript that does page redirection, and I
wanted to confirm that under certain circumstances the user will get a
500 error from CanCan::AccessDenied.
It seems that when I am not
On Wed, May 9, 2012 at 11:01 AM, Andrew Premdas aprem...@gmail.com wrote:
Hi there,
Is there any particular reason why stub is not stub.as_null_object by
default?
See https://github.com/rspec/rspec-mocks/issues/56
___
rspec-users mailing list
On Wed, May 9, 2012 at 3:09 PM, Patrick J. Collins
patr...@collinatorstudios.com wrote:
Hi,
If I have a spec with some complicated background stuff-- like say for
example logging in...
it does stuff, :js = true do
fancy_login_helper_method
visit somewhere_over_the_rainbow_path
On Tue, May 8, 2012 at 12:55 PM, Samer Masry samer.ma...@gmail.com wrote:
Is it possible to run an example without displaying it's
status ...F...
The 'F' comes from the ProgressFormatter. You could write your own
custom formatter.
On Fri, May 4, 2012 at 3:07 PM, Patrick J. Collins
patr...@collinatorstudios.com wrote:
Apparently 2.10.0 doesn't like this line in devise's
lib/devise/test_helpers.rb
@request.env['warden'] = Warden::Proxy.new(@request.env, manager)
Please file bug reports to
rspec-2.10 is released!
Cucumber docs
http://rubydoc.info/gems/rspec-core
http://rubydoc.info/gems/rspec-expectations
http://rubydoc.info/gems/rspec-mocks
http://rubydoc.info/gems/rspec-rails
API Docs (RDoc)
http://relishapp.com/gems/rspec-core
http://relishapp.com/gems/rspec-expectations
On Tue, May 1, 2012 at 2:17 PM, Patrick J. Collins
patr...@collinatorstudios.com wrote:
The frustration your experiencing is actually a good thing, its your brain
saying hey something is just not right. Of
course our natural reaction to this is just to get angry, but if we can get
past that
This is a test to see if the google mirror is working again. Sorry for the
noise.
Cheers,
David
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi all.
Google is in the process of changing the google group format and,
unless I'm missing something, seems to have abandoned the mirror
functionality this list has relied on for several years now (posting
to rspec-users also posts to the google group).
If anybody on this list knows how to
On Mon, Apr 23, 2012 at 12:26 PM, S Ahmed sahmed1...@gmail.com wrote:
My folder structure is as follows:
/myapp/
/myapp/lib/class1.rb
/myapp/rspec/spec_helper.rb
/myapp/rspec/lib/class1_spec.rb
My spec_helper has:
require 'rubygems'
^^ If you've installed rspec as a gem and you're
On Mon, Apr 23, 2012 at 5:39 PM, Rodrigo Rosenfeld Rosas
rr.ro...@gmail.com wrote:
I have a set of examples that should run with a specific set of records in
the database.
Since setting those records is an expensive operation I'd like to perform it
just once per context.
For example:
'rspec-core', :git = git://github.com/rspec/rspec-core.git
gem 'rspec-expectations', :git =
git://github.com/rspec/rspec-expectations.git
gem 'rspec-mocks',:git = git://github.com/rspec/rspec-mocks.git
gem 'capybara', '1.1.2'
end
Cheers,
David
--
David Chelimsky
Sent
On Tuesday, April 17, 2012 at 11:11 PM, Mark Berry wrote:
Hi,
I'm using Rails 3.1.3, rspec-rails 2.9.0, and Ruby 1.9.3p0.
I've been getting recursive errors, where one error is reported
multiple times. It's quite spectacular in a long suite, with the
errors overflowing the console buffer.
On Tuesday, April 17, 2012 at 2:30 PM, Nasir Jamal wrote:
Hi
We have just upgraded our Rails 2.3.11 app to Rails 3.0.0 and Rspec 1.3.2 to
2.6. We are having two problems with rspec currently and any help would be
great.
1) We have some controller macros where we have been using the
On Wednesday, April 18, 2012 at 4:30 PM, Mark Berry wrote:
On Wed April 18, 2012 at 5:35 AM, David Chelimsky wrote:
On Tuesday, April 17, 2012 at 11:11 PM, Mark Berry wrote:
Hi,
I'm using Rails 3.1.3, rspec-rails 2.9.0, and Ruby 1.9.3p0.
I've been getting recursive errors
On Wednesday, April 18, 2012 at 7:01 PM, Patrick J. Collins wrote:
When an integration test fails, I get a whole mess of garbage that is
all in red, very painful to the eyes-- Especially when I quickly just
want to see what went wrong-- in this case, all I want to see is
On Sunday, April 15, 2012 at 1:32 AM, Bas Vodde wrote:
Hiya all,
I've got a quick question related to RSpec. I was test-driving some code and
ended up in an endless loop. I was surprised by this, but traced it down to
the mock not failing on additional calls but only in the end. Let me
Actually I just went ahead and fixed it sans-bug report:
https://github.com/rspec/rspec-mocks/commit/fb9c76c2e40b4b25f4dcc5de95f8c60319b6d9c1.
It'll be fixed in the next release (2.10).
Cheers,
David
--
David Chelimsky
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Sunday, April
Sorry about that. I don't always jump on things like that, but this one was
bugging me and I had the time so I just did it. That doesn't always happen :) I
look forward to your future contributions.
Cheers,
David
--
David Chelimsky
Sent with Sparrow (http://www.sparrowmailapp.com/?sig
On Sunday, April 15, 2012 at 9:23 PM, Rodrigo Rosenfeld Rosas wrote:
Em 14-04-2012 10:11, David Chelimsky escreveu:
On Friday, April 13, 2012 at 2:09 PM, Rodrigo Rosenfeld Rosas wrote:
Hello old friends, I'm getting back to Rails and Ruby programming full
time again (Yay!)
I've
through a single part of
the codebase that we can override in an extension.
HTH,
David
--
David Chelimsky
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo
On Wed, Apr 11, 2012 at 12:18 PM, Matt Hauck mattha...@gmail.com wrote:
On Tuesday, April 10, 2012 8:48:37 PM UTC-7, Justin Ko wrote:
On Apr 9, 2012, at 2:41 PM, Matt Hauck wrote:
Is there a way to specify a message expectation on an object to occur
_without_ a particular argument?
There
On Tue, Apr 10, 2012 at 5:28 PM, Ryan Macy ryan.m...@borderjump.com wrote:
/Users/ryanmacy/.rvm/gems/ruby-1.9.2-p318/gems/ffi-1.0.11/lib/ffi/
library.rb:121:in `block in ffi_lib': Could not open library '/usr/lib/
liblpcapi_ssl.so': dlopen(/usr/lib/liblpcapi_ssl.so, 5): image not
found
On Wed, Apr 4, 2012 at 7:47 AM, Lunarose A. li...@ruby-forum.com wrote:
I am actually a newbie in Ruby rails nd Rspec.. So it could be something
basic.. Plz helpp
This is my rspec test code::
describe GET new do
it assigns a new kase as @kase do
get :new
rspec-expectations-2.9.1 is released!
This is a bug-fix only release, and is recommended for everybody using
rspec-2.9.
### rspec-expectations-2.9.1 / 2012-04-03
[full
changelog](http://github.com/rspec/rspec-expectations/compare/v2.9.0...2.9.1)
Bug fixes
* Provide a helpful message if the
On Sun, Apr 1, 2012 at 11:34 PM, Bradley bradleyrobert...@gmail.com wrote:
I have some let and before declarations that I want to define for all of my
tests. I can't seem to figure out how to do this in a clean way (ie by
including a module in my Rspec config). I don't want to have to
On Sat, Mar 31, 2012 at 2:49 AM, Justin Ko jko...@gmail.com wrote:
On Mar 30, 2012, at 11:11 PM, Fearless Fool wrote:
This is a rehash of a question I posed at:
http://stackoverflow.com/questions/9952317/isolating-controller-tests-from-models
The basic question: If I have a FoosController
On Tue, Mar 27, 2012 at 9:24 AM, Mike Mazur mma...@gmail.com wrote:
Hi,
On Tue, Mar 27, 2012 at 22:10, Mike Mazur mma...@gmail.com wrote:
In May last year, the controller specs generated with `rspec g
scaffold` were changed to use real model objects instead of
`mock_model`.
I'm curious why
On Wed, Mar 28, 2012 at 5:11 PM, Hillary Hueter weimar1...@gmail.com wrote:
I'm testing the filter on a table. One of the filter options is Show All.
So for my other tests I've been looping through the rows and seeing if the
table cell that contains the status doesn't include text
On Mon, Mar 26, 2012 at 7:20 PM, Paulo Luis Franchini Casaretto
pcasare...@gmail.com wrote:
Hey,
When I'm testing a controller, I basically test three things.
Does it assign the variables the view needs?
Does it render the right template?
Does it do whatever the action is supposed to do?
On Thu, Mar 22, 2012 at 9:54 AM, Pito Salas li...@ruby-forum.com wrote:
I am taking over a code base and am trying to run the tests. I am
somewhat new to RSpec so this might be a trivial problem.
Basically I can tell that the fixtures are not getting loaded. All 100
tests fail with a similar
On Fri, Mar 23, 2012 at 3:34 AM, Josh Moore j...@resumecompanion.com wrote:
I have inherited a rails 2.3.14 application with no tests. I have gotten
cucumber working but when I try to user rspec will not run any of the test
cases. These are the first four lines in myspec/spec_helper.rb.
1 - 100 of 2985 matches
Mail list logo