spec/timber/contexts/system_spec.rb in timber-2.1.1 vs spec/timber/contexts/system_spec.rb in timber-2.1.2

- old
+ new

@@ -1,11 +1,11 @@ require "spec_helper" describe Timber::Contexts::System, :rails_23 => true do describe ".as_json" do it "should coerce pid into an string" do - custom_context = described_class.new(:pid => 1) + custom_context = described_class.new(:pid => "1") json = custom_context.as_json() - expect(json[:pid]).to eq("1") + expect(json[:pid]).to eq(1) end end end \ No newline at end of file