Am I right in thinking that rspec 2, being based on Micronaut, has no
Rails fixture support?
I tried to get my specs running under rspec-* 2.0.0.beta.8 and Rails 3
edge, but no dice on the fixture front. I've tried controller and
request specs in a new app, just in case. Same story.
Looking over
Why won't this test work?
I am trying to use RSpec to drive a negative test where my code will
throw an exception which it does however, the test does not pass. It
fails due to my exception. However, I am using should
raise_exception:
---
describe "Making non-existent url ti
Stefan Kanev wrote:
I've been doing RSpec for more than a year by now, yet I cannot help but
feel that I've never got a single view spec right. I can see that I have
very few view specs and that my views tend be a lot messier than
everything else. I've read the chapter in the RSpec book about sp
Amit Kulkarni wrote:
> Hello,
> I am currently working on Ubuntu machine in which there is already a
> spec file generated which has some models
> So i just updated by entering the command "ruby script/generate rspec"
> Now when i try to generate rspec model then it shows error as
>
> "The name 'U
Hello,
I am currently working on Ubuntu machine in which there is already a
spec file generated which has some models
So i just updated by entering the command "ruby script/generate rspec"
Now when i try to generate rspec model then it shows error as
"The name 'User' is either already used in your
Hello,
I am currently working on Ubuntu machine in which there is already a
spec file generated which has some models
So i just updated by entering the command "ruby script/generate rspec"
Now when i try to generate rspec model then it shows error as
"The name 'User' is either already used in your
On May 4, 2010, at 2:51 PM, Frank wrote:
> Hi Guys,
>
> I'm new to webrat and I've encountered a problem. I have a nested form
> that I've created using the steps similar to the Rails Casts
> http://railscasts.com/episodes/75-complex-forms-part-3
>
> As context, I have a form for programming ex
On May 7, 2010, at 7:35 AM, David Chelimsky wrote:
>
> On May 4, 2010, at 2:51 PM, Frank wrote:
>
>> Hi Guys,
>>
>> I'm new to webrat and I've encountered a problem. I have a nested form
>> that I've created using the steps similar to the Rails Casts
>> http://railscasts.com/episodes/75-complex
On May 7, 2010, at 5:59 AM, andrea longhi wrote:
> Hello everybody,
>
> I am experiencing the following problems, I googled quickly but I
> couldn't find any documentation or solution to those issues:
>
> 1) the generator rails g rspec:helper does nothing;
See Known Issues on http://github.com
from: http://github.com/rspec/rspec-rails
- no helper specs (yet)
- no routing specs (yet)
- only works with ActiveRecord (for now)
On 7 May 2010 11:59, andrea longhi wrote:
> Hello everybody,
>
> I am experiencing the following problems, I googled quickly but I
> couldn't find any d
On 2010-05-06 9:51 PM, David Chelimsky wrote:
On May 6, 2010, at 10:09 AM, Phillip Koebbe wrote:
Are these two forms theoretically functionally equivalent:
1)
car = stub_model(Car)
Car.stub(:new).and_return(car)
2)
Car.stub(:new).and_return(stub_model(Car))
I ask because I thought they we
Hello everybody,
I am experiencing the following problems, I googled quickly but I
couldn't find any documentation or solution to those issues:
1) the generator rails g rspec:helper does nothing;
2) there seems to be no way to test helper methods as I used to do...
for example
the following spec
12 matches
Mail list logo