Sha256: ddca12d49734dddd46af13301419c8c406ea5b7d9f3c4ad0563db9a9f6515d2f

Contents?: true

Size: 289 Bytes

Versions: 12

Compression:

Stored size: 289 Bytes

Contents

require 'simplecov'
SimpleCov.start

require 'rbatch/journal'

describe RBatch::Journal do
  it "default" do
    @j = RBatch::Journal.new
    expect(@j.journal_verbose) == 1
  end

  it "is passed argument" do
    @j = RBatch::Journal.new(2)
    expect(@j.journal_verbose) == 2
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rbatch-2.6.0 spec/rbatch/journal_spec.rb
rbatch-2.5.1 spec/rbatch/journal_spec.rb
rbatch-2.5.0 spec/rbatch/journal_spec.rb
rbatch-2.4.0 spec/rbatch/journal_spec.rb
rbatch-2.3.1 spec/rbatch/journal_spec.rb
rbatch-2.3.0 spec/rbatch/journal_spec.rb
rbatch-2.2.0 spec/rbatch/journal_spec.rb
rbatch-2.1.9 spec/rbatch/journal_spec.rb
rbatch-2.1.8 spec/rbatch/journal_spec.rb
rbatch-2.1.7 spec/rbatch/journal_spec.rb
rbatch-2.1.6 spec/rbatch/journal_spec.rb
rbatch-2.1.5 spec/rbatch/journal_spec.rb