Sha256: 48708d37328da6c3b5cfccbf5da65187ba101b3177def0e82efec78f5e196827
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' module Alf module Support describe TupleScope, "to_s and inspect" do let(:tuple){ {:a => 1, :b => 2} } context 'with a simple TupleScope' do let(:scope){ TupleScope.new(tuple) } it "delegates to_s to the tuple" do scope.to_s.should eq(tuple.to_s) end it "delegates to the tuple" do scope.inspect.should eq(tuple.inspect) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | spec/unit/alf-support/tuple_scope/test_to_s.rb |
alf-core-0.14.0 | spec/unit/alf-support/tuple_scope/test_to_s.rb |