Class: Kender::CypressRails
- Defined in:
- lib/kender/commands/cypress_rails.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
-
#available? ⇒ Boolean
Kender might be in some projects which use cypress-rails but do not have this rake task.
- #command ⇒ Object
Methods inherited from Command
all, all_names, all_success?, commands, #execute, inherited, #name, #run
Instance Method Details
#available? ⇒ Boolean
Kender might be in some projects which use cypress-rails but do not have this rake task.
6 7 8 |
# File 'lib/kender/commands/cypress_rails.rb', line 6 def available? in_gemfile?('cypress-rails') && Rake::Task.task_defined?('cypress_extended:enhanced_run') end |
#command ⇒ Object
10 11 12 |
# File 'lib/kender/commands/cypress_rails.rb', line 10 def command 'bundle exec rake cypress_extended:enhanced_run' end |