Sha256: 4fa1d2fb0ab333d347e2297a1003e7e5a2347b56efccdc283f21c5fd59fe9aef

Contents?: true

Size: 245 Bytes

Versions: 19

Compression:

Stored size: 245 Bytes

Contents

require "spec_helper"

describe "Core extensions" do
  describe String do
    before :each do
      class FakeQueue; end
    end

    it "underscores a class name" do
      expect(FakeQueue.to_s.underscore).to eq("fake_queue")
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
sucker_punch-1.6.0 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.5.1 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.5.0 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.4.0 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.3.2 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.3.1 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.3.0 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.2.1 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.2 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.1 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.0.5 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.0.4 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.0.3 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.0.2 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.0.1 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.0.0 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.0.0.beta3 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.0.0.beta2 spec/sucker_punch/core_ext_spec.rb
sucker_punch-1.0.0.beta spec/sucker_punch/core_ext_spec.rb