File: second_spec.rb

package info (click to toggle)
ruby-jar-dependencies 0.5.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,172 kB
  • sloc: ruby: 2,407; sh: 137; xml: 117; java: 20; makefile: 9
file content (12 lines) | stat: -rw-r--r-- 389 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require_relative 'spec_helper'

describe 'java class App from src/main/java/**' do
  it 'should load bouncy castle' do
    expect(Java::App.bc_info).to eq 'BouncyCastle Security Provider v1.49'
    expect(Java::App.jruby_version).to eq JRUBY_VERSION
    logger = org.slf4j.LoggerFactory.get_logger('root')
    logger.info(Java::App.hello('world'))
  end
end