Skip to content

Commit

Permalink
fix spec again
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Nov 9, 2023
1 parent ed4620e commit ccba9dc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
features: enabled
- rspec: system/admin
features: enabled
- rspec: system/*_spec.rb --exclude-pattern 'spec/system/awesome_map_spec.rb'
- rspec: system/*_spec.rb
features: enabled
- rspec: system/awesome_map_spec.rb
- rspec: system/awesome_map
features: enabled
fail-fast: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
features: enabled
- rspec: system/admin
features: enabled
- rspec: system/*_spec.rb'
- rspec: system/*_spec.rb
features: enabled
- rspec: system/awesome_map
features: enabled
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ And then execute:

```bash
bundle
bundle exec rails decidim_decidim_awesome:install:migrations
bundle exec rails decidim:upgrade
bundle exec rails db:migrate
```
Expand Down
5 changes: 5 additions & 0 deletions lib/tasks/decidim_awesome_upgrade_tasks.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

Rake::Task["decidim:upgrade"].enhance do
Rake::Task["decidim_decidim_awesome:webpacker:install"].invoke
end
6 changes: 0 additions & 6 deletions lib/tasks/decidim_awesome_webpacker_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,3 @@ namespace :decidim_decidim_awesome do
end
end
end


Rake::Task["decidim:webpacker:upgrade"].enhance do
Rake::Task["decidim_decidim_awesome:webpacker:install"].invoke
Rake::Task["decidim_decidim_awesome:install:migrations"].invoke
end

0 comments on commit ccba9dc

Please sign in to comment.