Sha256: 372efe6adaa83b207d347fd06e852f8fcc8d8df680ccaf9f81cb35575ac8ba12
Contents?: true
Size: 815 Bytes
Versions: 45
Compression:
Stored size: 815 Bytes
Contents
require "spec_helper" describe ArchitectureJS::Notification do it 'should have a notify method' do ArchitectureJS::Notification.notify(:none, 'hello').should == 'hello' end it 'should have a notice method' do ArchitectureJS::Notification.notice('hello').should === 'hello' end it 'should have a log method' do ArchitectureJS::Notification.log('hello').should === "\e[32m>>>\e[0m hello" end it 'should have an event method' do ArchitectureJS::Notification.event('hello').should === "\e[33m<<<\e[0m hello" end it 'should have an added method' do ArchitectureJS::Notification.added('hello').should === "\e[32m+++\e[0m hello" end it 'should have an error method' do ArchitectureJS::Notification.error('hello').should === "\e[0;31m!!!\e[0m hello" end end
Version data entries
45 entries across 45 versions & 1 rubygems