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.1.7 spec/timber/event_spec.rb
timber-2.1.6 spec/timber/event_spec.rb
timber-2.1.5 spec/timber/event_spec.rb
timber-2.1.4 spec/timber/event_spec.rb
timber-2.1.3 spec/timber/event_spec.rb
timber-2.1.2 spec/timber/event_spec.rb
timber-2.1.1 spec/timber/event_spec.rb
timber-2.1.0 spec/timber/event_spec.rb
timber-2.1.0.rc6 spec/timber/event_spec.rb
timber-2.1.0.rc5 spec/timber/event_spec.rb
timber-2.1.0.rc4 spec/timber/event_spec.rb
timber-2.1.0.rc3 spec/timber/event_spec.rb
timber-2.1.0.rc2 spec/timber/event_spec.rb
timber-2.1.0.rc1 spec/timber/event_spec.rb
timber-2.0.24 spec/timber/event_spec.rb
timber-2.0.23 spec/timber/event_spec.rb
timber-2.0.22 spec/timber/event_spec.rb
timber-2.0.21 spec/timber/event_spec.rb
timber-2.0.20 spec/timber/event_spec.rb
timber-2.0.19 spec/timber/event_spec.rb