decko-commons/decko

View on GitHub
card/lib/generators/deck/templates/script/decko_cucumber

Summary

Maintainability
Test Coverage
# used to run cucumber in RubyMine

ENV["RAILS_ENV"] = "cucumber"
ENV["RAILS_ROOT"] = "."
BUNDLE_GEMFILE = File.expand_path "../../Gemfile",  __FILE__
ARGV.insert 0, "cucumber", "--"
load File.expand_path("../decko",  __FILE__)