Sha256: 92261eef72099a443fad1e86fd0763a233719fe51dbde8d028480adad0427da5
Contents?: true
Size: 515 Bytes
Versions: 3
Compression:
Stored size: 515 Bytes
Contents
require 'spec_helper' describe Galakei::Spacer do describe 'initialize' do it 'should can initialize' do expect { described_class.new('#000000') }.to_not raise_error end end describe 'output img_tag' do subject { described_class.new('#000000').img_tag } it { should == %q[<img src='/galakei/spacer/000000' width='100%' height='1'>] } end describe 'create image binary' do subject { described_class.new('#000000').create } it { should_not be_nil } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
galakei-0.6.2 | spec/galakei/spacer_spec.rb |
galakei-0.6.1 | spec/galakei/spacer_spec.rb |
galakei-0.6.0 | spec/galakei/spacer_spec.rb |