Sha256: 51c7e27ef99d7cde72d3f46808e6ae3f18e3a1b8448df6c15a300fa2a241437f

Contents?: true

Size: 194 Bytes

Versions: 14

Compression:

Stored size: 194 Bytes

Contents

require 'spec_helper'
module WLang
  describe Source, 'locals' do

    subject{ Source.new("Hello world").locals }

    it 'is empty by default' do
      subject.should eq({})
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
wlang-3.0.1 spec/unit/source/test_locals.rb
wlang-3.0.0 spec/unit/source/test_locals.rb
wlang-2.3.1 spec/unit/source/test_locals.rb
wlang-2.3.0 spec/unit/source/test_locals.rb
wlang-2.2.4 spec/unit/source/test_locals.rb
wlang-2.2.3 spec/unit/source/test_locals.rb
wlang-2.2.2 spec/unit/source/test_locals.rb
wlang-2.2.1 spec/unit/source/test_locals.rb
wlang-2.2.0 spec/unit/source/test_locals.rb
wlang-2.1.2 spec/unit/source/test_locals.rb
wlang-2.1.1 spec/unit/source/test_locals.rb
wlang-2.1.0 spec/unit/source/test_locals.rb
wlang-2.0.1 spec/unit/source/test_locals.rb
wlang-2.0.0 spec/unit/source/test_locals.rb