Sha256: 030110320690360298d1e6a5c4d9700c49812a1335595f67afa62f0219660c1c

Contents?: true

Size: 676 Bytes

Versions: 29

Compression:

Stored size: 676 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8

require './lib/sushi_fabric/sushiApp'

include SushiFabric
describe SushiApp do
  subject(:sushi_app) {SushiApp.new}
  context 'when new' do
    it {is_expected.to be_an_instance_of SushiApp} 
  end 
  describe "#job_header" do
    subject{sushi_app.job_header}
    let(:dataset) {{'Name' => 'Name'}}
    let(:out) {double('out')}
    before do
      allow(out).to receive_messages(:print => nil)
      sushi_app.instance_variable_set(:@out, out)
      sushi_app.instance_variable_set(:@scratch_result_dir, 'scratch_result_dir')
      sushi_app.instance_variable_set(:@dataset, dataset)
    end
    it {is_expected.to be_nil}
  end 
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
sushi_fabric-0.8.3 spec/sushi_app_spec.rb
sushi_fabric-0.8.2 spec/sushi_app_spec.rb
sushi_fabric-0.8.1 spec/sushi_app_spec.rb
sushi_fabric-0.8.0 spec/sushi_app_spec.rb
sushi_fabric-0.7.9 spec/sushi_app_spec.rb
sushi_fabric-0.7.8 spec/sushi_app_spec.rb
sushi_fabric-0.7.7 spec/sushi_app_spec.rb
sushi_fabric-0.7.6 spec/sushi_app_spec.rb
sushi_fabric-0.7.5 spec/sushi_app_spec.rb
sushi_fabric-0.7.4 spec/sushi_app_spec.rb
sushi_fabric-0.7.3 spec/sushi_app_spec.rb
sushi_fabric-0.7.2 spec/sushi_app_spec.rb
sushi_fabric-0.7.1 spec/sushi_app_spec.rb
sushi_fabric-0.7.0 spec/sushi_app_spec.rb
sushi_fabric-0.6.9 spec/sushi_app_spec.rb
sushi_fabric-0.6.8 spec/sushi_app_spec.rb
sushi_fabric-0.6.7 spec/sushi_app_spec.rb
sushi_fabric-0.6.6 spec/sushi_app_spec.rb
sushi_fabric-0.6.5 spec/sushi_app_spec.rb
sushi_fabric-0.6.4 spec/sushi_app_spec.rb