Skip to content

Commit

Permalink
Add cucumber to default task
Browse files Browse the repository at this point in the history
  • Loading branch information
EGiataganas committed Jan 25, 2022
1 parent 8719273 commit 110df64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ require_relative "config/application"

Rails.application.load_tasks

task(:default).clear.enhance(%i[bundle_audit brakeman rubocop spec])
task(:default).clear.enhance(%i[bundle_audit brakeman rubocop spec cucumber])
6 changes: 6 additions & 0 deletions lib/tasks/cucumber.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# frozen_string_literal: true

desc "Run cucumber"
task cucumber: :environment do
exit 1 unless system "cucumber"
end

0 comments on commit 110df64

Please sign in to comment.