👮 fix extra spaces
This commit is contained in:
@@ -16,7 +16,7 @@ describe Squib::Args::Draw do
|
||||
end
|
||||
|
||||
context 'dsl overrides' do
|
||||
subject(:draw) {Squib::Args::Draw.new(custom_colors, {stroke_width: 0.0})}
|
||||
subject(:draw) {Squib::Args::Draw.new(custom_colors, {stroke_width: 0.0})}
|
||||
|
||||
it 'works when specified' do
|
||||
draw.load!({}) # go right to defaults
|
||||
|
||||
@@ -3,7 +3,7 @@ require 'squib/args/paint'
|
||||
|
||||
describe Squib::Args::Draw do
|
||||
let(:custom_colors) { {'foo' => 'abc'} }
|
||||
subject(:paint) {Squib::Args::Paint.new(custom_colors)}
|
||||
subject(:paint) {Squib::Args::Paint.new(custom_colors)}
|
||||
|
||||
context 'alpha' do
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ describe Squib::Args::UnitConversion do
|
||||
expect(subject.parse(20)).to eq(20)
|
||||
end
|
||||
|
||||
it 'strips trailing whitespace' do
|
||||
it 'strips trailing whitespace' do
|
||||
expect(subject.parse('1in ')).to eq(300)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user