Skip to content

Commit

Permalink
Cleanup config.ru example spec runner
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 18, 2013
1 parent 57fcf2f commit fef6177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 55 deletions.
44 changes: 0 additions & 44 deletions app/app.rb

This file was deleted.

14 changes: 3 additions & 11 deletions config.ru
@@ -1,16 +1,8 @@
require 'bundler'
Bundler.require

Opal::Processor.source_map_enabled = false
# Opal::Processor.const_missing_enabled = false
Opal::Processor.dynamic_require_severity = :warning

Opal.append_path 'app' # load first so stub files come before real rspec files
Opal.append_path 'opal' # load first so stub files come before real rspec files
Opal.use_gem 'rspec'
Opal.use_gem 'rspec-expectations'

run Opal::Server.new { |s|
s.main = 'app'
s.debug = true
s.main = 'opal/rspec/sprockets_runner'
s.append_path 'spec'
s.debug = false
}

0 comments on commit fef6177

Please sign in to comment.