Rspec integration tests without cucumber?

后端 未结 3 1676
慢半拍i
慢半拍i 2021-02-07 21:00

Is there a way to do integration tests with Rspec without using Cucumber? I prefer using just plain old Webrat. Thanks.

3条回答
  •  走了就别回头了
    2021-02-07 21:30

    As far as I know Rspec is perfectly capable of testing views and controllers as part of integration tests. A quick look around the internet shows this article at Robby on Rails on view testing and some of the Rdocs within RSpec might help.

    Hope this points you in the right direction - I'm afraid I use cucumber myself.

提交回复
热议问题