We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1389785 commit 230681cCopy full SHA for 230681c
1 file changed
spec/models/user_spec.rb
@@ -78,6 +78,15 @@
78
end
79
80
81
+ describe '#really_destroy!' do
82
+ let(:user) { create(:user) }
83
+
84
+ it 'removes the record from the database' do
85
+ user.really_destroy!
86
+ expect(Spree::User.with_deleted.exists?(id: user.id)).to eql false
87
+ end
88
89
90
describe "confirmable" do
91
it "is confirmable if the confirmable option is enabled" do
92
set_confirmable_option(true)
0 commit comments