Commit adf55a62 authored by Zach Perkins's avatar Zach Perkins
Browse files

Fixed instructor model test

parent f4a25fe6
...@@ -2,6 +2,6 @@ require 'test_helper' ...@@ -2,6 +2,6 @@ require 'test_helper'
class InstructorTest < ActiveSupport::TestCase class InstructorTest < ActiveSupport::TestCase
test "Instructor#named filters correctly" do test "Instructor#named filters correctly" do
assert_equal instructors(:luke).id, Instructor.named("luke").first.id assert_equal instructors(:luke).id, Instructor.from_name(Instructor.select("*"), "luke").first.id
end end
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment