Sha256: d6b7735463a0f873490164b32176d0c6554c703055068b63020a1513941dd8b1

Contents?: true

Size: 313 Bytes

Versions: 60

Compression:

Stored size: 313 Bytes

Contents

require "spec_helper"

describe Timber::Event, :rails_23 => true do
  describe "#to_s" do
    it "should display the message" do
      event = Timber::Events::Custom.new(message: "Build version 1.0.0", type: :build, data: {version: "1.0.0"})
      expect(event.to_s).to eq("Build version 1.0.0")
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
timber-2.0.17 spec/timber/event_spec.rb
timber-2.0.16 spec/timber/event_spec.rb
timber-2.0.15 spec/timber/event_spec.rb
timber-2.0.14 spec/timber/event_spec.rb
timber-2.0.12 spec/timber/event_spec.rb
timber-2.0.11 spec/timber/event_spec.rb
timber-2.0.10 spec/timber/event_spec.rb
timber-2.0.9 spec/timber/event_spec.rb
timber-2.0.8 spec/timber/event_spec.rb
timber-2.0.7 spec/timber/event_spec.rb
timber-2.0.6 spec/timber/event_spec.rb
timber-2.0.5 spec/timber/event_spec.rb
timber-2.0.4 spec/timber/event_spec.rb
timber-2.0.3 spec/timber/event_spec.rb
timber-2.0.2 spec/timber/event_spec.rb
timber-2.0.1 spec/timber/event_spec.rb
timber-2.0.0 spec/timber/event_spec.rb
timber-1.1.14 spec/timber/event_spec.rb
timber-1.1.13 spec/timber/event_spec.rb
timber-1.1.12 spec/timber/event_spec.rb