Skip to content

Commit

Permalink
Remove .env.test symlink (forem#20839)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mac Siri authored Apr 5, 2024
1 parent 0cc9cc0 commit 03477f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion .env.test

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/uffizzi-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 1 addition & 8 deletions spec/system/comments/user_edits_a_comment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,8 @@ def assert_updated

click_on(class: "comment__dropdown-trigger")
click_link_or_button("Edit")
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")
assert_updated
end
end
end

0 comments on commit 03477f2

Please sign in to comment.