Sha256: 3bf34de59010071c5c22f02bfd675bf47808dca78465e76ea7f3cbd3c4f55f4c
Contents?: true
Size: 535 Bytes
Versions: 17
Compression:
Stored size: 535 Bytes
Contents
require 'spec_helper' describe Storey, '.create_plain_schema' do context 'when there is no suffix set' do it 'should create a schema without a suffix' do Storey.create_plain_schema 'dun' Storey.schemas(suffix: true).should include('dun') end end context 'when there is a suffix set' do before do Storey.suffix = '_lop' end it 'should create a schema with the suffix' do Storey.create_plain_schema 'dun' Storey.schemas(suffix: true).should include('dun_lop') end end end
Version data entries
17 entries across 17 versions & 1 rubygems