Sha256: adb128926fc5f5ac240a5c65e2c267c0aef77fbfb89579647239dbec5a8ea304

Contents?: true

Size: 406 Bytes

Versions: 10

Compression:

Stored size: 406 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

    it 'includes extensions.controller' do
      expect(ApplicationController).to include(DummyExtension)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kuroko2-0.8.0 spec/settings_spec.rb
kuroko2-0.7.0 spec/settings_spec.rb
kuroko2-0.6.0 spec/settings_spec.rb
kuroko2-0.5.2 spec/settings_spec.rb
kuroko2-0.5.1 spec/settings_spec.rb
kuroko2-0.5.0 spec/settings_spec.rb
kuroko2-0.4.6 spec/settings_spec.rb
kuroko2-0.4.5 spec/settings_spec.rb
kuroko2-0.4.4 spec/settings_spec.rb
kuroko2-0.4.3 spec/settings_spec.rb