Sha256: f9e4a46fb439aeb5008e7c76aed476a77326d6867bb69129a8a74ada7834aaaf
Contents?: true
Size: 361 Bytes
Versions: 35
Compression:
Stored size: 361 Bytes
Contents
require "spec_helper" describe Timber::Events::Custom, :rails_23 => true do describe ".to_hash" do it "should coerce type into an atom" do custom_context = described_class.new(:type => "my type", :message => "hello", :data => {:key => "value"}) hash = custom_context.to_hash() expect(hash.keys.first).to eq(:"my type") end end end
Version data entries
35 entries across 35 versions & 1 rubygems