Sha256: d2ad85fe32b228babf86df85fd35501e73476260839837c416f33e7fb0e548df

Contents?: true

Size: 448 Bytes

Versions: 3

Compression:

Stored size: 448 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2015 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

require 'jetel/helpers/general_helper'

describe Jetel::Helper do
  describe '#sanitize' do
    it 'Sanitizes spaces' do
      res = Jetel::Helper.sanitize('hello world')
      expect(res).to eql('hello_world')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jetel-0.0.18 spec/helpers/general_helper_spec.rb
jetel-0.0.17 spec/helpers/general_helper_spec.rb
jetel-0.0.16 spec/helpers/general_helper_spec.rb