David Chelimsky-2 wrote:
>
> That is by design. RSpec is about spec'ing things in isolation,
> whereas cucumber is about spec'ing things end to end. RSpec controller
> specs are about *controllers*, not views, so the presence and/or
> validity of a view should not impact the controller spec.
>
On Sat, Jun 27, 2009 at 10:14 AM, mBread wrote:
> I've got this test:
>
> describe LoginController do
> describe "GET index" do
> it "should be successful" do
> get 'index'
> response.should be_success
> end
> end
> end
>
> which passes, but a cucumber test fails on trying t
I've got this test:
describe LoginController do
describe "GET index" do
it "should be successful" do
get 'index'
response.should be_success
end
end
end
which passes, but a cucumber test fails on trying to get the index for
LoginController, with the message:
No action r