👮 leading space in comments

This commit is contained in:
Andy Meneely
2016-03-17 23:47:32 -04:00
parent 0f5b7d0f8e
commit 65a0fdfd47
24 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ describe Squib::Deck do
it 'loads basic xlsx data' do
expect(Squib.xlsx(file: xlsx_file('basic.xlsx'))).to eq({
'Name' => %w(Larry Curly Mo),
'General Number' => %w(1 2 3), #general types always get loaded as strings with no conversion
'Actual Number' => [4.0, 5.0, 6.0], #numbers get auto-converted to integers
'General Number' => %w(1 2 3), # general types always get loaded as strings with no conversion
'Actual Number' => [4.0, 5.0, 6.0], # numbers get auto-converted to integers
})
end
+1 -1
View File
@@ -20,7 +20,7 @@ describe Squib::Args::Draw do
it 'works when specified' do
draw.load!({}) # go right to defaults
expect(draw.stroke_width).to eq([0.0]) #ordinarily a non-zero according
expect(draw.stroke_width).to eq([0.0]) # ordinarily a non-zero according
end
end
+1 -1
View File
@@ -63,7 +63,7 @@ it "single quotes inside double quotes" do
context 'configured' do
#TODO
# TODO
end
+3 -3
View File
@@ -18,7 +18,7 @@ describe Squib::Deck, '#save_pdf' do
end
before(:each) do
allow(Cairo::PDFSurface).to receive(:new).and_return(nil) #don't create the file
allow(Cairo::PDFSurface).to receive(:new).and_return(nil) # don't create the file
allow(Cairo::Context).to receive(:new).and_return(cxt)
allow(cxt).to receive(:antialias=)
end
@@ -27,7 +27,7 @@ describe Squib::Deck, '#save_pdf' do
num_cards = 9
deck = Squib::Deck.new(cards: 9, width: 825, height: 1125)
expect(Squib.logger).to receive(:debug).at_least(:once)
expect(Squib.logger).to receive(:warn).exactly(:once) #warn about making the dir
expect(Squib.logger).to receive(:warn).exactly(:once) # warn about making the dir
expect(Dir).to receive(:mkdir) {} # don't actually make the dir
expect(cxt).to receive(:scale).with(0.24, 0.24)
@@ -51,7 +51,7 @@ describe Squib::Deck, '#save_pdf' do
args = { range: 2..4, file: 'foo.pdf', dir: '_out', margin: 75, gap: 5, trim: 37 }
deck = Squib::Deck.new(cards: num_cards, width: 825, height: 1125)
expect(Squib.logger).to receive(:debug).at_least(:once)
expect(Squib.logger).to receive(:warn).exactly(:once) #warn about making the dir
expect(Squib.logger).to receive(:warn).exactly(:once) # warn about making the dir
expect(Dir).to receive(:mkdir) {} # don't actually make the dir
expect(cxt).to receive(:scale).with(0.24, 0.24)
+1 -1
View File
@@ -20,7 +20,7 @@ class Sanity
row = []
actual_png = @@OUTPUT_DIR + File.basename(exp_png)
row << "file:///" + exp_png
row << "file:///" + actual_png #actual
row << "file:///" + actual_png # actual
row << "file:///" + diff_image(exp_png, actual_png)
images << row
bar.increment