Remove .env.test symlink (#20839)

This commit is contained in:
Mac Siri 2024-04-05 11:22:12 -04:00 committed by GitHub
parent 0cc9cc0250
commit 03477f298c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 10 deletions

View file

@ -1 +0,0 @@
.env_sample

View file

@ -120,6 +120,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: cp .env_sample .env
- run: bundle exec rails db:test:prepare
- name: RSpec
run: bin/knapsack_pro_rspec
@ -274,6 +275,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: cp .env_sample .env
- run: bundle exec rails db:test:prepare
- run: yarn cypress install
- name: cypress

View file

@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@master
- name: Create the .env file
run: |
cp .env.test .env
cp .env_sample .env
- name: Build and Push Image to registry.uffizzi.com ephemeral registry
uses: docker/build-push-action@v2
with:

View file

@ -52,15 +52,8 @@ RSpec.describe "Editing A Comment", :js do
click_on(class: "comment__dropdown-trigger")
click_link_or_button("Edit")
expect(page).to have_link("Dismiss")
assert_updated
end
end
context "when user edits via direct path (no referer)" do
it "cancels to the article page" do
user.reload
visit "#{comment.path}/edit"
expect(page).to have_link("Dismiss")
end
end
end