Displaying 20 results from an estimated 30000 matches similar to: "Need some info regarding Rspec"
2007 Sep 05
5
RSpec for dummies screencast?
Does anyone know of any RSpec screencasts for dummies, like me :)
I have a Java background, but I have never written a java test in my
life. I''ve never learned about TDD or BDD so I''m totally blank on
everything that has anything to do with testing and stuff.
Where should I start?!? ;)
Christian...
--~--~---------~--~----~------------~-------~--~----~
You received this
2008 Jan 18
9
new in ruby and rspec testing
Hi to all
I''m a new in ruby and RoR programming.
And my problem is Rspec.
I don''t understand how to write test files in rspec.
Maybe it''s because I don''t know ruby good.
Can you send me links to fine examples/screencasts/e-books and other
stuff.
I found some on google but it not enough :(
Thanks for replie''s
--
Posted via http://www.ruby-forum.com/.
2009 Oct 23
10
Rspec Tutorial
Hi Everybody,
Greetings!!
I want to use rspec for my applications. Please guide me with the Rspec
tutorial.
I want a good example to start with.
Please help me by providing good tutorials on Rspec to start with.
I actually followed the example from http://rspec.info
Please guide me on more examples.
Waiting for your reply.
--~--~---------~--~----~------------~-------~--~----~
You received
2007 Dec 03
7
RSpec Project
Hey does anyone know of a good open source Rails project that uses
RSpec? I''d like to check out some real world code that''s drinking the
RSpec BDD koolaid.
Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2007 Dec 21
4
I need some guidance
I''m building an http communicator class for a web service API wrapper and
I''m trying to go through the BDD process in doing so. I''m having a bit of a
struggle figuring out how to set up the tests in relation to isolating
things appropriately as well as testing behavior vs testing implementation.
Specifically, I''m trying to set up a post method on my
2007 Aug 08
3
rspec with autotest on a windows machine
Hello all,
I''m new to rSpec but after reading a couple of tutorials I''ve become
enamored. Anyway, I am at minute 42 of the rSpec basics screencast (
peepcode.com) and I''m having the following error running autotest w/rSpec:
D:\ruby\projects\forecaster>autotest
loading autotest/rails_rspec
c:\ruby\bin\ruby -rrubygems -e "require ''redgreen''"
2007 Sep 16
4
"Not Implemented" doesn''t show
I''m going through Peepcode''s Rspec Basics for an overview.
He''s just doing a simple spec:
class PeepCode
end
describe PeepCode do
it "should be awsome" do
end
end
So running spec spec/simple_spec.rb should produce according to his screen
cast:
1 example, 0 failures, 1 not implemented
but I only recieve:
1 example, 0 failures
Also spec
2008 Jul 05
5
Does RSpec work nicely with UUID primary keys?
I have my application happily generating UUID primary keys using the
uuidtools gem.
But the auto-generated specifications created by "script/generate
rspec_scaffold...", etc, assume that one is using a sequential integer
primary key.
For those who have hit this same issue, is it just a matter of rewriting
the auto-generated specifications to take this into account, or does one
have to
2008 Mar 15
4
* Please help a RoR Newbie!!*
Hi Everyone!
I''ve only just started with Ruby so am a touch lost.
THis morning i downloaded the quick win (locomotive) and, once i swith
that on, I can view the Ruby start page at localhost:3000
My problem is, I''m not that great with finding my way round terminal. I
can do basic cd .. etc to view files, but am VERY LOST!! :-)
the Ruby page says:
#
Create your databases and
2008 May 03
9
Any news on the rSpec books?
I admit it, when it comes to rSpec, I''m lazy. I''ve made a few feeble
attempts to use it, but for once I''m waiting for a book-length
treatment. At least two books were announced, I think. Can anyone in
the know please report on their progress?
Thanks
Michael
--
Michael Schuerig
mailto:michael at schuerig.de
http://www.schuerig.de/michael/
2007 Sep 17
3
how do I get the beautiful html rspec results in textmate?
I''m going through PeepCode RSpec Basics and he gets a beautiful rspec
results page in html when he presses a hotkey in TextMate.
I would guess it''s along the lines of Apple + R but I don''t get the same
results and I''m using the same bundle.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Oct 13
1
Formatted Routes?
Is anyone using formats with the url generator in trunk? I can''t
figure it out and it seems to be unimplemented in the router code.
I want to do something like
url(:articles, :format => "xml")
# => /articles.xml
or
url(:formatted_articles, :format => "xml")
--
Geoffrey Grosenbach
........................
PeepCode Screencasts
http://peepcode.com
2007 Jun 27
5
Mosquito Fixtures Won''t Load
I can''t get fixtures to load correctly in a Mosquito test. The first
fixture loads in the unit test, but the rest don''t load at all.
File structure:
tracker/
tracker.rb
test/
test_tracker.rb
fixtures/
tracker_measurements.yml
tracker_projects.yml
Relevant test code:
require ''rubygems''
2007 Jul 16
6
Advice regarding extending RedCloth
Hello,
I am in a bit of a bind. I need to reliably parse mediawiki markup to
html, and the only parser that I can find (mediacloth) has a lot to be
desired, so I would like to extend something that works and parse
mediawiki markup. My question to this list is should I start working
on RedCloth or SuperRedCloth or is there a difference as far as
extending them? Also does anyone know of a write up
2008 Jan 14
6
RSpec stories introduction
I have played a bit with RSpec specs and now want to check out stories. I
note that there is no generator for rspec stories pre se (unless I managed
to miss all references to one ) and that the only directory relating to
stories added by installing rspec is ./stories itself.
The documentation at rspec.info seems to presume a great deal of prior
knowledge. What I am looking for is a guided tour
2007 Jun 05
0
Fwd: testing - test/spec and rspec
are you guys aware of this??
:)
Begin forwarded message:
> From: topfunky <topfunkycorporation at gmail.com>
> Date: June 4, 2007 8:35:24 PM EDT
> To: PeepCode <peepcode at googlegroups.com>
> Subject: Re: testing - test/spec and rspec
> Reply-To: peepcode at googlegroups.com
>
>
> On 5/28/07, Neil <neilrahilly at gmail.com> wrote:
>> Just
2007 Aug 17
11
[rspec] looking for a simple refresher
I''ve been off the rspec for a few months and I''m trying to get back on it.
1)
Spec::Mocks::MockExpectationError in ''TicketsController handling POST
/tickets should create a new ticket''
Mock ''Ticket_1001'' expected :new with ({}) once, but received it 0 times
./spec/controllers/tickets_controller_spec.rb:16:
script/spec:4:
class
2009 Mar 23
3
Spec::Rails, "model.should have(1).error_on(:attribute)" passes when?
Spec::Rails people,
I''m curious about:
- model.should have(1).error_on(:attribute)
displayed in the URL below:
http://rspec.rubyforge.org/rspec-rails/1.2.2/classes/Spec/Rails/Extensions/ActiveRecord/InstanceMethods.html
The Rspec peepcode screencast suggests that
model.should have(1).error_on(:attribute)
should pass if
model.send(:attribute)
returns nil
For me, I get an exception
2009 Jan 20
2
Do I need an SSL certificate to use ActionMailer 2.2.2?
Hi guys - I''m sorry to post about this issue again but after several
days I still cannot get ActionMailer working and I''ve been through
every tutorial/forum looking for the answer.
I know ActionMailer now requires SSL validation, does that mean I need
to purchase an SSL certificate before I can send emails?
If not, is there anyone out there who can help me set up my mailer to
2007 Mar 06
4
[PIMP] Topfunky''s httperf PeepCode screencast (Zed A. Shaw)
Hi,
Thanks Zed - this is very interesting. One item in particular caught my
eye: Does anyone on this list have any comments or validation that
Rails 1.2.1 is 2-4 times as slow as Rails 1.1.6? Topfunky provided a
link that purports what looks like really horrible performance and
memory characteristics for Rails 1.2.1, even v. 1.1.6: