Sha256: 58b3aa0a89ad2e7492982c2dd39a336785a6160d9b92a5749c7686dda7353551

Contents?: true

Size: 372 Bytes

Versions: 36

Compression:

Stored size: 372 Bytes

Contents

require 'spec_helper'

describe AssignableValues::HumanizedValue do

  describe '#inspect' do

    it "should be a helpful description of the instance's content" do
      value = AssignableValues::HumanizedValue.new('value', 'humanization')
      value.inspect.should == '#<AssignableValues::HumanizedValue value: "value", humanized: "humanization">'
    end

  end

end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
assignable_values-1.0.1 spec/assignable_values/humanized_value_spec.rb
assignable_values-1.0.0 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.18.1 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.18.0 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.17.0 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.16.6 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.16.5 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.16.4 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.16.3 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.16.2 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.16.1 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.16.0 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.15.1 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.15.0 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.14.0 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.13.2 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.13.1 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.13.0 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.12.1 spec/assignable_values/humanized_value_spec.rb
assignable_values-0.12.0 spec/assignable_values/humanized_value_spec.rb