Skip to content

Commit 3d03ea3

Browse files
committed
Fix spec time regex check (forgot to account for '+' in timezone)
1 parent 6df0f16 commit 3d03ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/collector_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
let(:sha) {"260bc61e2c42930d91f3503c5849b0a2351275cf"}
9090
it {data[:author].should == "Kevin Jalbert"}
9191
it {data[:author_email].should == "kevin.j.jalbert@gmail.com"}
92-
it {data[:time].should match /\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} -\d{4}/}
92+
it {data[:time].should match /\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} [-|+]\d{4}/}
9393

9494
it {data[:merge].should == false}
9595
it {data[:additions].should == 30}

0 commit comments

Comments
 (0)