Created
January 5, 2010 17:02
-
-
Save BenHall/269523 to your computer and use it in GitHub Desktop.
RSpec 1.2.9 running on IronRuby 0.9.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\ironruby\bin>ispec myspec.rb | |
0.9.3.0 | |
. | |
Finished in 0.1406214 seconds | |
1 example, 0 failures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!c:/ironruby/bin/ir.exe | |
# | |
# This file was generated by RubyGems. | |
# | |
# The application 'rspec' is installed as part of a gem, and | |
# this file is here to facilitate running it. | |
# | |
require 'rubygems' | |
version = ">= 0" | |
if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then | |
version = $1 | |
ARGV.shift | |
end | |
gem 'rspec', version | |
load Gem.bin_path('rspec', 'spec', version) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
IF NOT "%~f0" == "~f0" GOTO :WinNT | |
@"ir.exe" "c:/ironruby/bin/spec" %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
GOTO :EOF | |
:WinNT | |
@"ir" "%~dpn0" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe String do | |
it "should output version" do | |
puts IRONRUBY_VERSION | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment