Sha256: 07964f9a9d4380853c18e8d667f1e079037837dcc295c171d606afdaf044fa33
Contents?: true
Size: 473 Bytes
Versions: 2
Compression:
Stored size: 473 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe Mockumentary::Data do it 'should generate data via methods' do Mockumentary::Data.datetime.should be_a(Time) Mockumentary::Data.full_name.should be_a(String) Mockumentary::Data.full_name.split.size.should == 2 end it 'should generate from the correct class given a key' do name = Mockumentary::Data.generate(:full_name) name.should be_a(String) name.split.size.should == 2 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mockumentary-0.2.1 | spec/mockery/data_spec.rb |
mockumentary-0.2.0 | spec/mockery/data_spec.rb |