On Fri, Jul 4, 2008 at 5:03 PM, Scott Taylor [EMAIL PROTECTED]
wrote:
On Jul 4, 2008, at 6:29 AM, Olivier Dupuis wrote:
Hello,
Anyone knows of open source projects that uses RSpec and RSpec Stories?
I'd love to see how it is being used in different projects.
There are lots of
Many thanks for the advice, guys.
David
2008/7/5 Ben Mabey [EMAIL PROTECTED]:
Zach Dennis wrote:
A short experience report regarding this thread:
Early on when stories were introduced to rspec's code base I started using
them, and I tried some different techniques to see what the sweet
+1. This is a smart.
On Fri, Jul 4, 2008 at 9:18 PM, Steve Eley [EMAIL PROTECTED] wrote:
On Fri, Jul 4, 2008 at 4:45 PM, David Chelimsky [EMAIL PROTECTED] wrote:
So - how bad do you think this would suck to remove that feature? Are you
using it yourself?
I'm not, but would it be impractical
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
On Jul 5, 2008, at 9:03 AM, John Knox wrote:
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
On Sat, Jul 5, 2008 at 10:03 AM, John Knox [EMAIL PROTECTED] wrote:
But the auto-generated specifications created by script/generate
rspec_scaffold..., etc, assume that one is using a sequential integer
primary key.
That's just the fixtures in spec/fixtures. They're using the old
fixture
David Chelimsky wrote:
What happens when you run the generated examples?
My code uses single table inheritance (STI) and a MySQL database, so I
thought it best to create some new simple projects with a single model.
(1) I created a new project using SQLite with a single model. All 58
Awesome. I totally get it, but is that how you're always supposed to spec
out associations and all the methods that go with an association like
create and such? I'm interested in that because I'm specing a lot of code
that deals heavily with code that has associations going on, yet none of the
On 5.7.2008, at 18.37, John Knox wrote:
David Chelimsky wrote:
What happens when you run the generated examples?
My code uses single table inheritance (STI) and a MySQL database, so I
thought it best to create some new simple projects with a single
model.
(1) I created a new project
On Sat, Jul 5, 2008 at 3:50 PM, Tiffani Ashley Bell
[EMAIL PROTECTED] wrote:
When I run the tests the third test fails and RSpec complains that Mock
'Account_1003' expected :new with (any args) once, but received it 0 times
I'm confused about that since I am calling Account.new in the create
Thanks on the reminder that new is a class method. Plus, I figured using
mocks and fixtures together was probably a crappy idea. I'll be mocking
from now on...
--Tiffani AB
On Sat, Jul 5, 2008 at 5:00 PM, Steve Eley [EMAIL PROTECTED] wrote:
On Sat, Jul 5, 2008 at 3:50 PM, Tiffani Ashley Bell
Jarkko Laine wrote:
If you add some new code (without writing new specs for it),
even in the form of using plugins, and your existing specs still run,
it doesn't mean your code is working correctly because you didn't
write specs for that part of the functionality yet.
That makes a lot of
12 matches
Mail list logo