spec/spec_helper.rb in opal-rails-0.8.1 vs spec/spec_helper.rb in opal-rails-0.9.0
- old
+ new
@@ -1,20 +1,7 @@
root_dir = File.expand_path('../../', __FILE__)
-
-# OPAL-RAILS
-
-$:.unshift File.expand_path('lib', root_dir)
-require 'opal-rails'
-
-
-# RAILS
-
-# Configure Rails Environment
-ENV['RAILS_ENV'] = 'test'
-
-require File.expand_path('test_app/config/environment.rb', root_dir)
-
+require 'support/test_app'
require 'rspec/rails'
require 'support/capybara'
require 'support/reset_assets_cache'
Rails.backtrace_cleaner.remove_silencers!