Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
resolve test warning [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Apr 22, 2015
1 parent a1136c0 commit 2c054a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/models/course_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c054a4

Please sign in to comment.