2011-06-10 14:04:21 +00:00
|
|
|
RSpec.configure do |c|
|
|
|
|
c.mock_with :mocha
|
|
|
|
end
|
|
|
|
|
2011-04-14 00:21:23 +00:00
|
|
|
specrunner = 'ext/jasmine-webkit-specrunner/jasmine-webkit-specrunner'
|
|
|
|
|
|
|
|
if !File.file?(specrunner)
|
|
|
|
Dir.chdir File.split(specrunner).first do
|
|
|
|
system %{ruby extconf.rb}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|