diff --git a/spec/models/alchemy/page_spec.rb b/spec/models/alchemy/page_spec.rb index 5652ac5856..9a1eea2aab 100644 --- a/spec/models/alchemy/page_spec.rb +++ b/spec/models/alchemy/page_spec.rb @@ -1640,7 +1640,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 @@ -1654,7 +1654,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 @@ -1668,7 +1668,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