Sha256: a582063c84dce8683f16146684f198639125308a58731631c7356ab411f8f215

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 Bytes

Contents

require 'quantify'
include Quantify

describe Quantify do

  it "should initialize superscript format" do
    Quantify.use_superscript_characters?.should be_true
  end

  it "should set superscript usage to true" do
    Quantify.use_superscript_characters=true
    Quantify.use_superscript_characters?.should be_true
  end

  it "should set superscript usage to false" do
    Quantify.use_superscript_characters=false
    Quantify.use_superscript_characters?.should be_false
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quantify-1.1.0 spec/quantify_spec.rb