Sha256: 6cb7e12b24563bef0e1d49f5ec6a0dd7350f940022cce11027418f867ad5eb06

Contents?: true

Size: 204 Bytes

Versions: 10

Compression:

Stored size: 204 Bytes

Contents

require 'spec_helper'

describe StringMetric do
  specify { subject.convert(1).should == '1' }
  specify { subject.convert('1abc').should == '1abc' }
  specify { subject.convert(1.2).should == '1.2' }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
techcor-0.0.10 spec/lib/metrics/string_metric_spec.rb
techcor-0.0.9 spec/lib/metrics/string_metric_spec.rb
techcor-0.0.8 spec/lib/metrics/string_metric_spec.rb
techcor-0.0.7 spec/lib/metrics/string_metric_spec.rb
techcor-0.0.6 spec/lib/metrics/string_metric_spec.rb
techcor-0.0.5 spec/lib/metrics/string_metric_spec.rb
techcor-0.0.4 spec/lib/metrics/string_metric_spec.rb
techcor-0.0.3 spec/lib/metrics/string_metric_spec.rb
techcor-0.0.2 spec/lib/metrics/string_metric_spec.rb
techcor-0.0.1 spec/lib/metrics/string_metric_spec.rb