Skip to content

Commit

Permalink
removes unused function to increase the coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ghatighorias committed Jun 8, 2017
1 parent 50da49f commit c233b07
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions web/models/class/class_helper.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ defmodule CoursePlanner.ClassHelper do
end
end

def is_class_duration_correct?(class) do
DateTime.compare(class.starting_at, class.finishes.at) == :lt
&& DateTime.to_erl(class.starting_at) != 0
end

def create_class_attendance_records(class) do
students = class.students

Expand Down

0 comments on commit c233b07

Please sign in to comment.