Grupy
Grupy
Zaloguj się
Grupy
Grupy
shoulda
Wątki
Więcej o
Prześlij opinię
Pomoc
Ścieżka grupy
shoulda
1–30 z 352
Oznacz wszystkie jako przeczytane
Zgłoś grupę
Nie wybrano żadnego wiersza
Ricardo Panaggio
,
Ryan McGeary
2
31.05.2011
Conditional validation testing
Ricardo, After specifying the subject explicitly, you can test validations that are based on a
nieprzeczytany,
Conditional validation testing
Ricardo, After specifying the subject explicitly, you can test validations that are based on a
31.05.2011
Charles Johnson
29.04.2011
http://www.ngodinhtruc.com/images/ate.php
nieprzeczytany,
http://www.ngodinhtruc.com/images/ate.php
29.04.2011
Dan Ryan
,
Mikael Henriksson
5
6.03.2011
assign_to failing in Rails 3 / RSpec 2 / Shoulda 2.11.3 (Expected action to assign a value for @var)
Forwarded message: Ok, full code comming up context "as admin" do before do user = Factory(
nieprzeczytany,
assign_to failing in Rails 3 / RSpec 2 / Shoulda 2.11.3 (Expected action to assign a value for @var)
Forwarded message: Ok, full code comming up context "as admin" do before do user = Factory(
6.03.2011
Curran
2
5.03.2011
should set_session.to block argument
Of course. It should say: should set_session(:user).to(nil) {@user.id} Curran On Fri, Mar 4, 2011 at
nieprzeczytany,
should set_session.to block argument
Of course. It should say: should set_session(:user).to(nil) {@user.id} Curran On Fri, Mar 4, 2011 at
5.03.2011
Joe Ferris
, …
Ken Collins
4
25.01.2011
beta versions of shoulda, shoulda-context, and shoulda-matchers
The first challenge that I see is the way rails works. It always subclasses ActiveSupport::TestCase
nieprzeczytany,
beta versions of shoulda, shoulda-context, and shoulda-matchers
The first challenge that I see is the way rails works. It always subclasses ActiveSupport::TestCase
25.01.2011
silent (e)
,
Joe Ferris
2
13.12.2010
shoulda 2.11 and custom macros
Hey, Apologies for the delay. I'll write a guide on custom macros in shoulda 2.11 soon. -Joe On
nieprzeczytany,
shoulda 2.11 and custom macros
Hey, Apologies for the delay. I'll write a guide on custom macros in shoulda 2.11 soon. -Joe On
13.12.2010
Paul McMahon
, …
sant0sk1
3
9.12.2010
Converting assert_sent_email to should have_sent_email
I just ran into this today as well. Instance variables created in the setup block of a context are
nieprzeczytany,
Converting assert_sent_email to should have_sent_email
I just ran into this today as well. Instance variables created in the setup block of a context are
9.12.2010
mvcaraiman
10.11.2010
Functional test for 'create' fails : Expected response to be a redirect to <http://test.host/users/1001> but was a redirect to <http://test.host/users>
Hi folks, I have a problem trying to use shoulda with factory_girl when creating a functional test
nieprzeczytany,
Functional test for 'create' fails : Expected response to be a redirect to <http://test.host/users/1001> but was a redirect to <http://test.host/users>
Hi folks, I have a problem trying to use shoulda with factory_girl when creating a functional test
10.11.2010
J. Pablo Fernández
18.11.2010
Is shoulda destroying my backtraces?
Hello, I have a test more or less like this: class FormDefinitionTest < ActiveSupport::TestCase
nieprzeczytany,
Is shoulda destroying my backtraces?
Hello, I have a test more or less like this: class FormDefinitionTest < ActiveSupport::TestCase
18.11.2010
Sukima
13.10.2010
Custom macros or matchers
This question was brushed on a year ago in the context to which syntax to use. However with the
nieprzeczytany,
Custom macros or matchers
This question was brushed on a year ago in the context to which syntax to use. However with the
13.10.2010
Francois
,
Charles Johnson
4
5.10.2010
undefined method validate_uniqueness_of
Great! On Tue, Oct 5, 2010 at 12:00 AM, Francois <fha...@gmail.com> wrote: Hi Charles, thanks
nieprzeczytany,
undefined method validate_uniqueness_of
Great! On Tue, Oct 5, 2010 at 12:00 AM, Francois <fha...@gmail.com> wrote: Hi Charles, thanks
5.10.2010
J. Pablo Fernández
24.09.2010
Allow blank on should validate_uniqueness_of
Using shoulda, any ideas how to allow blank when having this test: should validate_uniqueness_of(:
nieprzeczytany,
Allow blank on should validate_uniqueness_of
Using shoulda, any ideas how to allow blank when having this test: should validate_uniqueness_of(:
24.09.2010
Curtis
17.09.2010
Shoulda + RSpec + Rails2
I have a rails2 project currently using plain old test-unit and was looking for move to shoulda +
nieprzeczytany,
Shoulda + RSpec + Rails2
I have a rails2 project currently using plain old test-unit and was looking for move to shoulda +
17.09.2010
Matt Patterson
,
Dan Croak
2
14.09.2010
controller.should use_before_filter
Thanks, Matt. I commented directly on the issue: http://github.com/thoughtbot/shoulda/issues/issue/
nieprzeczytany,
controller.should use_before_filter
Thanks, Matt. I commented directly on the issue: http://github.com/thoughtbot/shoulda/issues/issue/
14.09.2010
Amiruddin Nagri
,
Evgeniy Dolzhenko
2
7.09.2010
render_with_layout not working with RSpec 2 + Rails 3 + shoulda 2.11.3
My 2cents: while upgrading my test suite I replaced all such cases with just it { should
nieprzeczytany,
render_with_layout not working with RSpec 2 + Rails 3 + shoulda 2.11.3
My 2cents: while upgrading my test suite I replaced all such cases with just it { should
7.09.2010
secureboot
,
Cynthia Kiser
3
29.08.2010
Shoulda keeps changing the table to run all tests against
The answer is that the fixtures that get generated for new models in 3.0.0.rc2 screw up shoulda.
nieprzeczytany,
Shoulda keeps changing the table to run all tests against
The answer is that the fixtures that get generated for new models in 3.0.0.rc2 screw up shoulda.
29.08.2010
Nadal
, …
defn
3
23.08.2010
shoulda not working with rails3 and rspec2
I've added the line you mention to my spec_helper.rb but still receive errors: Here is my code:
nieprzeczytany,
shoulda not working with rails3 and rspec2
I've added the line you mention to my spec_helper.rb but still receive errors: Here is my code:
23.08.2010
Barnabas
, …
yannis_
4
20.08.2010
why can't I use root_path and other *_path methods?
Ok, I got it! It should be should ("redirect to the root url" ){ redirect_to root_url }
nieprzeczytany,
why can't I use root_path and other *_path methods?
Ok, I got it! It should be should ("redirect to the root url" ){ redirect_to root_url }
20.08.2010
jhc
19.08.2010
Undefined method `matches?' for "be valid":String
I'm a testing noob trying to get underway with Rails 3 RC. I followed the instructions to install
nieprzeczytany,
Undefined method `matches?' for "be valid":String
I'm a testing noob trying to get underway with Rails 3 RC. I followed the instructions to install
19.08.2010
rtacconi
,
Curran Schiefelbein
6
11.08.2010
nil session in integration test
Thanks for your help. I read some docs and I realized that in integration tests there is not a
nieprzeczytany,
nil session in integration test
Thanks for your help. I read some docs and I realized that in integration tests there is not a
11.08.2010
Amol Hatwár
, …
Daniel
3
9.08.2010
Custom Macros/Matchers
That would be enormously helpful for me, at least. I found several articles from 2008 and 2009 that
nieprzeczytany,
Custom Macros/Matchers
That would be enormously helpful for me, at least. I found several articles from 2008 and 2009 that
9.08.2010
rtacconi
,
Curran Schiefelbein
3
4.08.2010
When POST :create check values of the object that was created
I will do that On 4 August 2010 17:35, Curran Schiefelbein <c.schie...@gmail.com> wrote:
nieprzeczytany,
When POST :create check values of the object that was created
I will do that On 4 August 2010 17:35, Curran Schiefelbein <c.schie...@gmail.com> wrote:
4.08.2010
rtacconi
,
Dan Croak
3
4.08.2010
Expected response to be a <:redirect>, but was <200> when using should_redirect_to
I am 100% sure and it is happening in several test. I discovered that instead of a redirect I get
nieprzeczytany,
Expected response to be a <:redirect>, but was <200> when using should_redirect_to
I am 100% sure and it is happening in several test. I discovered that instead of a redirect I get
4.08.2010
rtacconi
2
4.08.2010
NoMethodError: undefined method `response_code' for nil:NilClass
sorry I was using test-unit gem with Ruby 1.8.7. It seems that is designed for 1.9 On Aug 4, 4:44 pm,
nieprzeczytany,
NoMethodError: undefined method `response_code' for nil:NilClass
sorry I was using test-unit gem with Ruby 1.8.7. It seems that is designed for 1.9 On Aug 4, 4:44 pm,
4.08.2010
Mindtonic
,
Dan Croak
2
27.07.2010
Using Shoulda with Rspec
These two are worth a read: http://robots.thoughtbot.com/post/159805987/speculating-with-shoulda http
nieprzeczytany,
Using Shoulda with Rspec
These two are worth a read: http://robots.thoughtbot.com/post/159805987/speculating-with-shoulda http
27.07.2010
ericindc
,
Curran Schiefelbein
3
1.07.2010
Controller tests and explicit subject
I'm pretty sure there is something up with my Shoulda configuration. I'm having the same
nieprzeczytany,
Controller tests and explicit subject
I'm pretty sure there is something up with my Shoulda configuration. I'm having the same
1.07.2010
Brian Cardarella
3
29.06.2010
Factored out ActiveModel specific code from ActiveRecord module into ActiveModel module
Doh, I forgot to move over the ActiveRecord::Assertions module. This patch will also be needed: http:
nieprzeczytany,
Factored out ActiveModel specific code from ActiveRecord module into ActiveModel module
Doh, I forgot to move over the ActiveRecord::Assertions module. This patch will also be needed: http:
29.06.2010
Ivan Kuznetsov
2
27.06.2010
should_change macro deprecation warning
http://robots.thoughtbot.com/post/731871832/this-should-change-your-mind This article answers my
nieprzeczytany,
should_change macro deprecation warning
http://robots.thoughtbot.com/post/731871832/this-should-change-your-mind This article answers my
27.06.2010
Matt Patterson
,
Joe Ferris
3
25.06.2010
Rails 2 / Rails 3 matchers where the underlying Rails implementations have shifted radically...
On Jun 18, 2:45 pm, Joe Ferris <joe.r.fer...@gmail.com> wrote: > Hey Matt, > > For now
nieprzeczytany,
Rails 2 / Rails 3 matchers where the underlying Rails implementations have shifted radically...
On Jun 18, 2:45 pm, Joe Ferris <joe.r.fer...@gmail.com> wrote: > Hey Matt, > > For now
25.06.2010
benji
22.06.2010
nested create action
How to call a create action on a nested resource with shoulda? The following code does not actual
nieprzeczytany,
nested create action
How to call a create action on a nested resource with shoulda? The following code does not actual
22.06.2010