fix GitHub CI build
This commit is contained in:
@@ -138,4 +138,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
bundle exec rake db:create
|
bundle exec rake db:create
|
||||||
bundle exec rake db:migrate
|
bundle exec rake db:migrate
|
||||||
|
bundle exec rake assets:precompile
|
||||||
bundle exec rspec
|
bundle exec rspec
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ RSpec.describe 'App Setup', js: true do
|
|||||||
|
|
||||||
expect do
|
expect do
|
||||||
click_button 'Submit'
|
click_button 'Submit'
|
||||||
sleep 1
|
sleep 2
|
||||||
end.to change(Account, :count).by(1).and change(User, :count).by(1).and change(EncryptedConfig, :count).by(2)
|
end.to change(Account, :count).by(1).and change(User, :count).by(1).and change(EncryptedConfig, :count).by(2)
|
||||||
|
|
||||||
user = User.last
|
user = User.last
|
||||||
|
|||||||
Reference in New Issue
Block a user