Remove .env.test symlink (#20839)
This commit is contained in:
parent
0cc9cc0250
commit
03477f298c
4 changed files with 4 additions and 10 deletions
|
|
@ -1 +0,0 @@
|
|||
.env_sample
|
||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/uffizzi-build.yml
vendored
2
.github/workflows/uffizzi-build.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue