Sha256: d9aa0e69a75cdf078f2f935e75f4b0f00aaabe6a87eec22439a5378c159c9c03

Contents?: true

Size: 728 Bytes

Versions: 8

Compression:

Stored size: 728 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'Workflow tests' do
  subject { LittleWeasel::DictionaryManager.new }

  include_context 'dictionary cache'
  include_context 'dictionary keys'

  # This loads the BIG en-US-big dictionary
  let(:en_us_dictionary_key) { dictionary_key_for(language: :en, region: :us, tag: :big) }
  let(:en_gb_dictionary_key) { dictionary_key_for(language: :en, region: :gb) }
  let(:es_es_dictionary_key) { dictionary_key_for(language: :es, region: :es) }

  let(:dictionary_key) { en_us_dictionary_key }
  let(:key) { dictionary_key.key }
  let(:file) { dictionary_path_for(file_name: key) }
  let(:dictionary_words) { dictionary_words_for(dictionary_file_path: file) }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
LittleWeasel-5.0.13 spec/lib/LittleWeasel/workflow/workflow_spec.rb
LittleWeasel-5.0.12 spec/lib/LittleWeasel/workflow/workflow_spec.rb
LittleWeasel-5.0.11 spec/lib/LittleWeasel/workflow/workflow_spec.rb
LittleWeasel-5.0.10 spec/lib/LittleWeasel/workflow/workflow_spec.rb
LittleWeasel-5.0.9 spec/lib/LittleWeasel/workflow/workflow_spec.rb
LittleWeasel-5.0.8 spec/lib/LittleWeasel/workflow/workflow_spec.rb
LittleWeasel-5.0.7 spec/lib/LittleWeasel/workflow/workflow_spec.rb
LittleWeasel-5.0.6 spec/lib/LittleWeasel/workflow/workflow_spec.rb