#3 ✓resolved
Matt Scilipoti

No specs exist

Reported by Matt Scilipoti | May 5th, 2009 @ 05:41 PM

There are no specs for resourcelogic. It's detestable. :)

This is kind of 'tongue in cheek', but we do feel it is serious detractor from resourcelogic. Which is unfortunate.

Please start with a sample spec for a controller.

For example, how do you handle the attributes= in build_object.

Are you shifting from:


  User.should_receive(:new).with(params)

To:


  mock_user = mock_model(User)
  User.should_receive(:new)
  mock_user.should_receive(:attributes=).with(params)

The developers on my team like what we see in resourcelogic and we volunteer to help write specs. We think it might be easier if we:

  • spoke with you about your plan for specs (or you published a quick outline)
  • derived them from the specs in the app resourcelogic was extracted from

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Adds context into the RESTful development style.

People watching this ticket

Pages