Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove unused spec files generated by `jspec init`

  • Loading branch information...
commit 0e0be6d69c24835863920b09bbed31ee043458f4 1 parent 5123b02
@smtlaissezfaire authored
View
19 spec/commands/example_command.rb
@@ -1,19 +0,0 @@
-
-# uncomment and call with `$ jspec example `
-
-# command :example do |c|
-# c.syntax = 'jspec example [options]'
-# c.description = 'Just an example command'
-# c.option '-f', '--foo string', 'Does some foo with <string>'
-# c.option '-b', '--bar [string]', 'Does some bar with [string]'
-# c.example 'Do some foo', 'jspec example --foo bar'
-# c.example 'Do some bar', 'jspec example --bar'
-# c.when_called do |args, options|
-# p args
-# p options.__hash__
-# # options.foo
-# # options.bar
-# # options.__hash__[:foo]
-# # options.__hash__[:bar]
-# end
-# end
View
22 spec/dom.html
@@ -1,22 +0,0 @@
-<html>
- <head>
- <link type="text/css" rel="stylesheet" href="/Users/scotttaylor/.rvm/gems/ruby/1.8.6/gems/jspec-3.2.1/lib/jspec.css" />
- <script src="/Users/scotttaylor/.rvm/gems/ruby/1.8.6/gems/jspec-3.2.1/lib/jspec.js"></script>
- <script src="/Users/scotttaylor/.rvm/gems/ruby/1.8.6/gems/jspec-3.2.1/lib/jspec.xhr.js"></script>
- <script src="../lib/jm.js"></script>
- <script src="unit/spec.helper.js"></script>
- <script>
- function runSuites() {
- JSpec
- .exec('unit/spec.js')
- .run({ fixturePath: 'fixtures' })
- .report()
- }
- </script>
- </head>
- <body class="jspec" onLoad="runSuites();">
- <div id="jspec-top"><h2 id="jspec-title">JSpec <em><script>document.write(JSpec.version)</script></em></h2></div>
- <div id="jspec"></div>
- <div id="jspec-bottom"></div>
- </body>
-</html>
View
10 spec/rhino.js
@@ -1,10 +0,0 @@
-
-load('/Users/scotttaylor/.rvm/gems/ruby/1.8.6/gems/jspec-3.2.1/lib/jspec.js')
-load('/Users/scotttaylor/.rvm/gems/ruby/1.8.6/gems/jspec-3.2.1/lib/jspec.xhr.js')
-load('lib/yourlib.js')
-load('spec/unit/spec.helper.js')
-
-JSpec
-.exec('spec/unit/spec.js')
-.run({ reporter: JSpec.reporters.Terminal, fixturePath: 'spec/fixtures' })
-.report()
View
18 spec/server.html
@@ -1,18 +0,0 @@
-<html>
- <head>
- <script src="/jspec/jspec.js"></script>
- <script src="/jspec/jspec.xhr.js"></script>
- <script src="/lib/yourlib.js"></script>
- <script src="/spec/unit/spec.helper.js"></script>
- <script>
- function runSuites() {
- JSpec
- .exec('unit/spec.js')
- .run({ reporter: JSpec.reporters.Server, verbose: true, failuresOnly: true, fixturePath: '/spec/fixtures' })
- .report()
- }
- </script>
- </head>
- <body class="jspec" onLoad="runSuites();">
- </body>
-</html>
View
4 spec/server.rb
@@ -1,4 +0,0 @@
-
-get '/lib/*' do |path|
- send_file File.dirname(__FILE__) + '/../lib/' + path
-end
Please sign in to comment.
Something went wrong with that request. Please try again.