Sha256: b8abb5d9381a50e91e925b909d9f68db41b202b135f328561ef757f195d5e895

Contents?: true

Size: 292 Bytes

Versions: 10

Compression:

Stored size: 292 Bytes

Contents

require 'rails_helper'

module Kuroko2
  describe 'Check if settings is loaded' do
    it 'loads custom tasks' do
      expect(Workflow::Node::TASK_REGISTORY).to have_key(:custom_task1)
      expect(Workflow::ScriptParser.new('custom_task1:').parse).to be_a(Workflow::Node)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kuroko2-0.4.0 spec/settings_spec.rb
kuroko2-0.3.4 spec/settings_spec.rb
kuroko2-0.3.3 spec/settings_spec.rb
kuroko2-0.3.2 spec/settings_spec.rb
kuroko2-0.3.1 spec/settings_spec.rb
kuroko2-0.3.0 spec/settings_spec.rb
kuroko2-0.2.3 spec/settings_spec.rb
kuroko2-0.2.2 spec/settings_spec.rb
kuroko2-0.2.1 spec/settings_spec.rb
kuroko2-0.2.0 spec/settings_spec.rb