Am 07.11.2011 um 22:22 schrieb Dave Aronson:
> On Mon, Nov 7, 2011 at 16:11, Gregor Panek wrote:
>
>> Am 07.11.2011 um 21:58 schrieb Dave Aronson:
>
>>> Don't you need to specify an id there?
>
>> How to do that? I just started to learn how write tests for the application.
>
> I recommend yo
On Mon, Nov 7, 2011 at 16:11, Gregor Panek wrote:
> Am 07.11.2011 um 21:58 schrieb Dave Aronson:
>> Don't you need to specify an id there?
> How to do that? I just started to learn how write tests for the application.
I recommend you read:
http://guides.rubyonrails.org/testing.html
(and th
Am 07.11.2011 um 21:58 schrieb Dave Aronson:
> On Mon, Nov 7, 2011 at 15:49, Gregor Panek wrote:
>
>>describe "GET 'show'" do
>>it "returns http success" do
>>get 'show'
>>response.should be_success
>>end
>
On Mon, Nov 7, 2011 at 15:49, Gregor Panek wrote:
> describe "GET 'show'" do
> it "returns http success" do
> get 'show'
> response.should be_success
> end
Don't you need to specify an id there? Or are you thinki
Hi all,
i wrote a Rspec test for my controller and it fails although it should pass.
Here is my Rspec test:
require 'spec_helper'
describe UsersController do
render_views
describe "GET 'show'" do
it "returns http success" do
get 'show'
5 matches
Mail list logo