From 2c054a4449ade346ed8df5536ad76f01df67a3bb Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 22 Apr 2015 01:08:25 -0700 Subject: [PATCH] resolve test warning [ci skip] --- spec/models/course_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/models/course_spec.rb b/spec/models/course_spec.rb index 7ba87c0..a0c5505 100644 --- a/spec/models/course_spec.rb +++ b/spec/models/course_spec.rb @@ -45,9 +45,9 @@ end it "Should not return any students not enrolled in the course" do - SIDS = @course.students.map(&:id) - expect(SIDS).not_to include @steve.id - expect(SIDS).not_to include @michael.id + enrolled = @course.students.map(&:id) + expect(enrolled).not_to include @steve.id + expect(enrolled).not_to include @michael.id end it "Should not return any teachers" do