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.6.2 spec/timber/event_spec.rb
timber-2.6.1 spec/timber/event_spec.rb
timber-2.6.0 spec/timber/event_spec.rb
timber-2.6.0.pre.beta2 spec/timber/event_spec.rb
timber-2.6.0.pre.beta1 spec/timber/event_spec.rb
timber-2.5.1 spec/timber/event_spec.rb
timber-2.5.0 spec/timber/event_spec.rb
timber-2.4.0 spec/timber/event_spec.rb
timber-2.3.4 spec/timber/event_spec.rb
timber-2.3.3 spec/timber/event_spec.rb
timber-2.3.2 spec/timber/event_spec.rb
timber-2.3.1 spec/timber/event_spec.rb
timber-2.3.0 spec/timber/event_spec.rb
timber-2.2.3 spec/timber/event_spec.rb
timber-2.2.2 spec/timber/event_spec.rb
timber-2.2.1 spec/timber/event_spec.rb
timber-2.2.0 spec/timber/event_spec.rb
timber-2.1.10 spec/timber/event_spec.rb
timber-2.1.9 spec/timber/event_spec.rb
timber-2.1.8 spec/timber/event_spec.rb