mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
e82d2dc277
I've embedded a little Rails app so that we can write cuke tests and
make sure that stuff doesn't break. Woo!
This was generated by making a rails engine, then copying just the
app over.
Thanks @nashby for fixing my stupid bug with sqlite3; it had to be
added as a development dependency. ❤️
8 lines
276 B
Ruby
8 lines
276 B
Ruby
# Configure Rails Environment
|
|
ENV["RAILS_ENV"] = "test"
|
|
|
|
require File.expand_path("../../../spec/dummy/config/environment.rb", __FILE__)
|
|
ENV["RAILS_ROOT"] = File.expand_path("../../../spec/dummy", __FILE__)
|
|
require 'cucumber/rails'
|
|
|
|
Rails.backtrace_cleaner.remove_silencers!
|