Skip to content

Commit

Permalink
不要なコメントを削除した
Browse files Browse the repository at this point in the history
  • Loading branch information
miminashi committed Aug 11, 2024
1 parent 8b7bdf2 commit 4481209
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/system/archives_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@
class ArchivesTest < ApplicationSystemTestCase
include ActiveJob::TestHelper

#BIG_BUCK_BUNNY_URL = "https://vimeo.com/1084537"
BIG_BUCK_BUNNY_URL = "https://www.youtube.com/watch?v=YE7VzlLtp-4"
#ELEPHANTS_DREAM_URL = "https://vimeo.com/1132937"
ELEPHANTS_DREAM_URL = "https://www.youtube.com/watch?v=TLkA0RELQ1g"
VIDEO_1 = "https://x.com/miminashi/status/1330543926416171010"
VIDEO_2 = "https://x.com/miminashi/status/1304544532256690178"

setup do
perform_enqueued_jobs do
#Archive.create(:original_url => BIG_BUCK_BUNNY_URL)
Archive.create(:original_url => VIDEO_1)
end

Expand All @@ -21,7 +18,6 @@ class ArchivesTest < ApplicationSystemTestCase

test "ビデオアーカイブの表示" do
visit archives_path
#click_link "Big Buck Bunny"
click_link "Миминаши - フィラメントの乾燥これでやってる(USB接続の温度計とSSRとドライヤーで50℃を保ってる)"

assert_selector "h2", text: "Миминаши - フィラメントの乾燥これでやってる(USB接続の温度計とSSRとドライヤーで50℃を保ってる)"
Expand All @@ -32,7 +28,6 @@ class ArchivesTest < ApplicationSystemTestCase
assert_selector "h1", text: "保存したビデオ"

click_on "動画を追加する"
#fill_in "動画のURL", with: ELEPHANTS_DREAM_URL
fill_in "動画のURL", with: VIDEO_2

assert_selector "h1", text: "保存したビデオ"
Expand All @@ -41,7 +36,6 @@ class ArchivesTest < ApplicationSystemTestCase
perform_enqueued_jobs

assert_selector "h1", text: "保存したビデオ"
#assert_text "Elephants Dream"
assert_text "Миминаши - スロットマシンみたいなのできた #USBシリーズ"
end
end

0 comments on commit 4481209

Please sign in to comment.