Sha256: ab0ed43f84d1f454ed49c38e91551c2b50375cb39d293db534a07fc69cc13795
Contents?: true
Size: 397 Bytes
Versions: 2
Compression:
Stored size: 397 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Function::String::Length::Methods, '#length' do subject { object.length } let(:described_class) { Class.new { include Function::String::Length::Methods } } let(:object) { described_class.new.freeze } it { should be_instance_of(Function::String::Length) } its(:operand) { should be(object) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/function/string/length/methods/length_spec.rb |
axiom-0.1.1 | spec/unit/axiom/function/string/length/methods/length_spec.rb |