From 36e3ca6cc526d867613b8dd76026bf2b2c5dd4a4 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 25 May 2014 00:43:31 +0200 Subject: integration tests do not need to load fixtures by hand I don't know when this changed, checked back up to 3.2 and integration tests instantiate fixtures just fine. --- guides/source/testing.md | 5 ----- 1 file changed, 5 deletions(-) (limited to 'guides/source/testing.md') diff --git a/guides/source/testing.md b/guides/source/testing.md index e9a5e0d7ab..4149146c4c 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -699,8 +699,6 @@ A simple integration test that exercises multiple controllers: require 'test_helper' class UserFlowsTest < ActionDispatch::IntegrationTest - fixtures :users - test "login and browse site" do # login via https https! @@ -727,10 +725,7 @@ Here's an example of multiple sessions and custom DSL in an integration test require 'test_helper' class UserFlowsTest < ActionDispatch::IntegrationTest - fixtures :users - test "login and browse site" do - # User david logs in david = login(:david) # User guest logs in -- cgit v1.2.3