diff --git a/spec/models/alchemy/page_spec.rb b/spec/models/alchemy/page_spec.rb index ad907047ec..77a2b02b21 100644 --- a/spec/models/alchemy/page_spec.rb +++ b/spec/models/alchemy/page_spec.rb @@ -1723,7 +1723,7 @@ class AnotherUrlPathClass; end end it "uses the primary key defined on user class" do - expect(Alchemy.user_class).to receive(:primary_key).at_least(:once) { :id } + expect(Alchemy.user_class).to receive(:primary_key).at_least(:once) { "id" } subject end end @@ -1737,7 +1737,7 @@ class AnotherUrlPathClass; end end it "uses the primary key defined on user class" do - expect(Alchemy.user_class).to receive(:primary_key).at_least(:once) { :id } + expect(Alchemy.user_class).to receive(:primary_key).at_least(:once) { "id" } subject end end @@ -1751,7 +1751,7 @@ class AnotherUrlPathClass; end end it "uses the primary key defined on user class" do - expect(Alchemy.user_class).to receive(:primary_key).at_least(:once) { :id } + expect(Alchemy.user_class).to receive(:primary_key).at_least(:once) { "id" } subject end end