spec/lib/appsignal/transaction_spec.rb in appsignal-0.12.rc.7 vs spec/lib/appsignal/transaction_spec.rb in appsignal-0.12.rc.8
- old
+ new
@@ -373,22 +373,22 @@
end
context "with the HTTP_X_REQUEST_START header set" do
let(:env) { {'HTTP_X_REQUEST_START' => "t=#{slightly_earlier_time_value}"} }
- it { should == 1389783599 }
+ it { should == 1389783599600 }
context "with unparsable content" do
let(:env) { {'HTTP_X_REQUEST_START' => 'something'} }
it { should be_nil }
end
context "with some cruft" do
let(:env) { {'HTTP_X_REQUEST_START' => "t=#{slightly_earlier_time_value}aaaa"} }
- it { should == 1389783599 }
+ it { should == 1389783599600 }
end
context "with a really low number" do
let(:env) { {'HTTP_X_REQUEST_START' => "t=100"} }
@@ -396,10 +396,10 @@
end
context "with the alternate HTTP_X_QUEUE_START header set" do
let(:env) { {'HTTP_X_QUEUE_START' => "t=#{slightly_earlier_time_value}"} }
- it { should == 1389783599 }
+ it { should == 1389783599600 }
end
end
end
context "time in miliseconds" do