diff --git a/test/models/application_model_test.rb b/test/models/application_model_test.rb index 6fbb3f43288..2694eaaa9e4 100644 --- a/test/models/application_model_test.rb +++ b/test/models/application_model_test.rb @@ -1,11 +1,11 @@ require "test_helper" -class OIDC::BaseModelTest < ActiveSupport::TestCase +class ApplicationModelTest < ActiveSupport::TestCase make_my_diffs_pretty! context "with an uninitialized object" do setup do - @model = OIDC::BaseModel.allocate + @model = ApplicationModel.allocate end should "inspect as not initializee" do @@ -19,15 +19,15 @@ class OIDC::BaseModelTest < ActiveSupport::TestCase context "with no attributes" do setup do - @model = OIDC::BaseModel.new({}) + @model = ApplicationModel.new({}) end should "inspect" do - assert_equal "#", @model.inspect + assert_equal "#", @model.inspect end should "pretty_inspect" do - assert_match(/#/, @model.pretty_inspect) + assert_match(/#/, @model.pretty_inspect) end should "compare equal to itself" do @@ -35,7 +35,7 @@ class OIDC::BaseModelTest < ActiveSupport::TestCase end should "compare equal to a copy" do - assert_equal @model, OIDC::BaseModel.new({}) + assert_equal @model, ApplicationModel.new({}) end end end