Sha256: 6de085ffbe222b7bce4f2fc555c2a6fd53ac65f711b0b4f88efc0707d6daa2a0

Contents?: true

Size: 239 Bytes

Versions: 5

Compression:

Stored size: 239 Bytes

Contents

require 'spec/spec_helper'

describe Scrooge::Core::Symbol do
  
  before(:each) do
    @symbol = :active_record
  end
  
  it "should be able to convert itself to a constant" do
    @symbol.to_const().should == 'ActiveRecord'
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
methodmissing-scrooge-1.0.0 spec/units/scrooge/core/symbol_spec.rb
methodmissing-scrooge-1.0.1 spec/units/scrooge/core/symbol_spec.rb
methodmissing-scrooge-1.0.2 spec/units/scrooge/core/symbol_spec.rb
methodmissing-scrooge-1.0.3 spec/units/scrooge/core/symbol_spec.rb
methodmissing-scrooge-1.0.4 spec/units/scrooge/core/symbol_spec.rb