Sha256: 267e6a9ff3aad3b48f27e3601ddf9767eae6b9671bc1a7d73961af361fb4fa09
Contents?: true
Size: 704 Bytes
Versions: 16
Compression:
Stored size: 704 Bytes
Contents
require 'spec_helper' describe New do it 'should return a version' do expect(New::VERSION).to match /[0-9]+.[0-9]+.[0-9]+/ end it 'should return an array of available tasks' do expect(New.tasks).to match_array [:foo_task, :custom_bar_task] expect(New.default_tasks).to match_array [:foo_task, :custom_bar_task] expect(New.custom_tasks).to match_array [:custom_bar_task] end it 'should return an array of available templates' do expect(New.templates).to match_array [:foo_template, :custom_bar_template] expect(New.default_templates).to match_array [:foo_template, :custom_bar_template] expect(New.custom_templates).to match_array [:custom_bar_template] end end
Version data entries
16 entries across 16 versions & 1 rubygems