Sha256: 96a0520f11a66147ebae31a12530433964c17140b85d62fd50c6d40a2eb5cff6

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

require 'rails_helper'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kuroko2-0.4.2 spec/settings_spec.rb
kuroko2-0.4.1 spec/settings_spec.rb