Skip to content

Commit

Permalink
AO3-5053 removed unnecessary spec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
irrationalpie7 committed Apr 2, 2024
1 parent 1b79932 commit 673ae22
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
12 changes: 0 additions & 12 deletions spec/models/pseud_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@
end
end

describe "changing pseud name" do
let(:pseud) { create(:pseud) }
let!(:bookmark) { create(:bookmark, pseud: pseud) }

it "modifies the updated_at of associated bookmarks" do
travel(1.second)
expect do
pseud.update(name: "New Name")
end.to change { bookmark.reload.updated_at }
end
end

describe "touch_comments" do
let(:pseud) { create(:pseud) }
let!(:comment) { create(:comment, pseud: pseud) }
Expand Down
13 changes: 0 additions & 13 deletions spec/models/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -294,19 +294,6 @@
end
end

describe "changing login name" do
let(:user) { build(:user) }
let(:pseud) { create(:pseud, user: user) }
let!(:bookmark) { create(:bookmark, pseud: pseud) }

it "modifies the updated_at of associated bookmarks" do
travel(1.second)
expect do
user.update(login: "New")
end.to change { bookmark.reload.updated_at }
end
end

describe ".search_multiple_by_email" do
let(:user_bundle) { create_list(:user, 5) }

Expand Down

0 comments on commit 673ae22

Please sign in to comment.