Sha256: ff71055a40c5d65faa2ef31b04de5926f4837ec7c3437a8e1fa598177af0edb7

Contents?: true

Size: 253 Bytes

Versions: 4

Compression:

Stored size: 253 Bytes

Contents

require "spec_helper"

describe "TopLevel" do

  describe "to_hash" do
    it "return only the hash data" do
      @scope = Expressive::TopLevel.new
      @scope["hello"] = "world"
      @scope.to_hash.should eql({"hello" => "world"})
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
expressive-0.0.8 spec/scope_spec.rb
expressive-0.0.7 spec/scope_spec.rb
expressive-0.0.6 spec/scope_spec.rb
expressive-0.0.5 spec/scope_spec.rb