Skip to content

Commit a1dccae

Browse files
committed
deal with weird JRuby version string
1 parent c80a277 commit a1dccae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/raven/event_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
end
6868

6969
it 'has runtime' do
70-
expect(hash[:contexts][:runtime]["version"]).to eq(`ruby -v`)
70+
expect(hash[:contexts][:runtime]["version"]).to match(/ruby/)
7171
end
7272
end
7373

0 commit comments

Comments
 (0)