Permalink
Browse files

moving the course creation out of the base class

  • Loading branch information...
1 parent fe8476a commit 3add9b2bc5668e589e1b920d082fa5cd1549ac69 @seejee seejee committed Mar 18, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −0 test/integration/tasks_test.rb
  2. +0 −1 test/test_helper.rb
@@ -1,6 +1,9 @@
require "test_helper"
class TasksTest < ActionDispatch::IntegrationTest
+
+ setup { Factory(:instructor) }
+
test "an instructor can create a new course task" do
sign_in_as_instructor
View
@@ -15,7 +15,6 @@ class ActiveSupport::TestCase
class ActionDispatch::IntegrationTest
include Capybara::DSL
- setup { Factory(:instructor) }
teardown { Capybara.reset_sessions! }
def sign_in_as_instructor

0 comments on commit 3add9b2

Please sign in to comment.