spec/timber/contexts/system_spec.rb in timber-2.1.9 vs spec/timber/contexts/system_spec.rb in timber-2.1.10
- old
+ new
@@ -1,9 +1,9 @@
require "spec_helper"
describe Timber::Contexts::System, :rails_23 => true do
describe ".as_json" do
- it "should coerce pid into an string" do
+ it "should coerce pid into an integer" do
custom_context = described_class.new(:pid => "1")
json = custom_context.as_json()
expect(json[:pid]).to eq(1)
end
end
\ No newline at end of file