diff --git a/contrib/ruby/jasmine_runner.rb b/contrib/ruby/jasmine_runner.rb index f20fd0cf..64297a84 100644 --- a/contrib/ruby/jasmine_runner.rb +++ b/contrib/ruby/jasmine_runner.rb @@ -87,6 +87,7 @@ module Jasmine mappings.each do |from, to| config[from] = Rack::File.new(to) end + p mappings app = Rack::URLMap.new(config) diff --git a/contrib/ruby/jasmine_runner_spec.rb b/contrib/ruby/spec/jasmine_runner_spec.rb similarity index 96% rename from contrib/ruby/jasmine_runner_spec.rb rename to contrib/ruby/spec/jasmine_runner_spec.rb index 83999de4..4339db76 100644 --- a/contrib/ruby/jasmine_runner_spec.rb +++ b/contrib/ruby/spec/jasmine_runner_spec.rb @@ -1,6 +1,6 @@ require 'spec' require 'open-uri' -require File.dirname(__FILE__) + '/jasmine_runner' +require File.dirname(__FILE__) + '/../jasmine_runner' describe Jasmine::SimpleServer do before do diff --git a/lib/example_suite.html b/examples/html/example_suite.html similarity index 51% rename from lib/example_suite.html rename to examples/html/example_suite.html index 4fc289ce..a97289e3 100644 --- a/lib/example_suite.html +++ b/examples/html/example_suite.html @@ -4,37 +4,14 @@ Jasmine Test Runner - - + + + - -