Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
Add config.ru for running specs in browser [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 30, 2013
1 parent f2371e9 commit dbafa4c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Gemfile
@@ -1,6 +1,7 @@
source 'https://rubygems.org'
gemspec

gem 'opal', :github => 'opal/opal'
gem 'opal-jquery', :github => 'opal/opal-jquery'
gem 'opal-rspec', :path => '../opal-rspec'
gem 'opal', :github => 'opal/opal'
gem 'opal-sprockets', :github => 'opal/opal-sprockets'
gem 'opal-jquery', :github => 'opal/opal-jquery'
gem 'opal-rspec', :path => '../opal-rspec'
10 changes: 10 additions & 0 deletions config.ru
@@ -0,0 +1,10 @@
require 'bundler'
Bundler.require

Opal::Processor.source_map_enabled = false

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

0 comments on commit dbafa4c

Please sign in to comment.