Sha256: 68c5d1fbeb158d3f2ab6f400a75953ae272ad355d707022d85bfba8ce1303bc3

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

require 'spec_helper'

describe Forgery::Currency do
  describe ".currency_descriptions" do
    it "should be able to generate a currency description" do
      expect(Forgery::Currency.description).not_to eql(nil)
    end
  end

  describe ".currency_codes" do
    it "should have the same output when encrypting twice" do
      expect(Forgery::Currency.code).not_to eql(nil)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgery-0.8.1 spec/forgery/currency_spec.rb
forgery-0.7.0 spec/forgery/currency_spec.rb