My Question is about ordering of describes / context and the various styles
that people are using that deviate from .
Some context first:
Started TDD when i was a university researcher - as a way to do bug fixes
without regression.
Started using rspec in 2006 on the side and eventually switched o
.
--
Curtis J Schofield
BlazingCloud.net
"Creativity can solve anything"
- George Lois
(source: art & copy)
On Aug 1, 2012, at 10:14 PM, Fahim Patel wrote:
> i implement all this question but i dont have knowledge perfectly
> ...ok
>
> explain with example
--
Curtis J Schofield
BlazingCloud.net
"Creativity can solve anything"
- George Lois
(source: art & copy)
On Apr 4, 2012, at 3:02 PM, Brad Symons wrote:
> I think you have a syntactical error on the line thats throwing the
> error, you state:
>
>>
Cathal Curtis wrote in post #1046554:
I found what I think is the answer to my question by chance while doing
some further searching on the web:
http://groups.google.com/group/ruby-capybara/browse_thread/thread/7b6c92e4c96c9135
Jonas Nicklas describes it as using the wrong tool for the job
Hi All,
I'd like to get some other's opinions on testing controllers.
Say I have a model and I want to prevent deletion of instances of it.
The controllers's destroy action simply redirects to an error page -
nothing else.
Lets assume the relevant views have no links or buttons to delete the
inst
I have an model in rails with an after_create that generates another
object (for the purpose of making an audit trail).
In the unit test - i want to verify this behavior.
This behaviour - in other tests is breaking some exceptions around
(include) - since the creation of the new audit trail
is le
I am designing a test around a class that interacts with TCPSocket - I
have used a mock and have asserted as minimal an interface as I can -
centered around the IO methods.
Should i be using a stub instead and stub on open and read - instead
of mock with open, read , close and so forth.
Is there
/rspec-expectations-2.5.0/lib/rspec/matchers/method_missing.rb:7
We noticed this.
Curtis Schofield & Anita Kuno
--
make haste slowly \
festina lente \
-
mobile +1_415_632_6001
cur...@robotarmyma.de
http://robotarmyma.de
___
rspec-users mailing
[Forgive the Crosspost - this is a community mailout ]
What: October 22-23 Rails Outreach for Women
URL:
http://www.meetup.com/sfruby/calendar/14835957/
Short:
Wanted : Rails, BDD/TDD, Cucumber, Ruby Teachers / Volunteer
Long:
Do you want to share your experience?
Have you ever thought " Gee -
On Jul 12, 2010, at 11:11 AM, Rails Learner
wrote:
Curtis j Schofield wrote:
On Mon, Jul 12, 2010 at 9:44 AM, Rails Learner
wrote:
# me error:
response.should have_selector( 'input',
:type
On Mon, Jul 12, 2010 at 9:44 AM, Rails Learner wrote:
> Hi!
>
> I am writing controller specs and getting a weird expectation failure.
> Here is the example. Please read the comments for details:
>
> it 'renders children/_show partial' do
> post :create, :child => @child
>
> # The line
On Jul 1, 2010, at 10:48 PM, Woody Peterson
wrote:
What are you experiencing and what are you expecting?
If you use rspec in cucumber, cucumber doesn't support --debug as an
option, so you can't use debuggers in cucumber + rspec.
Given RSpec 2.0's api, the expected behavior is declaring
On Jun 29, 2010, at 4:44 PM, tester86 wrote:
HI
I am new to rspec. I am at a web page and in that page I want to enter
in some text and then click send.
Sorry - toppost is a habit - check out capybara and see how it can be
used stand alone with rspec to interact with the page
it
Check into capybara
On Jun 29, 2010, at 4:44 PM, tester86 wrote:
HI
I am new to rspec. I am at a web page and in that page I want to enter
in some text and then click send.
it "will enter in some text 'asf'" do
end
what command would I used to enter in the text as I have searched
google bu
Any suggestions for how to detect that the methods are getting
executed that need to get executed?
On Mon, Jun 28, 2010 at 11:50 AM, David Chelimsky wrote:
> On Jun 28, 2010, at 1:31 PM, Curtis j Schofield wrote:
>
>> Hi - I extracted some methods in a refactor and put them
Hi - I extracted some methods in a refactor and put them into a nice
module and i'm in the process of making sure it is covered as a
first-class unit.
I'm getting some strange behavior with what seems really straight forward code.
https://gist.github.com/6d54448d70b07a126c51
_
Single responsibility Principle
On Tue, Apr 27, 2010 at 11:38 AM, Curtis Schofield <
curtis.schofi...@gmail.com> wrote:
> Personally SRP violations are making my work hell right now on a 2 year old
> rails system. My first concern when re-factoring is putting test in place -
> t
Personally SRP violations are making my work hell right now on a 2 year old
rails system. My first concern when re-factoring is putting test in place -
there isn't much coverage when i started.
I've been doing that for the past 2 weeks and I've found that cucumber is
doing well for getting higher
18 matches
Mail list logo