decko-commons/decko

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

Summary

Maintainability
Test Coverage

# used to run rspec in RubyMine

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