Sha256: 5ff2bdc45a77bed882760aca92c01070093291ef15e55aecdf82426daa51d723

Contents?: true

Size: 197 Bytes

Versions: 9

Compression:

Stored size: 197 Bytes

Contents

require "spec_helper"

describe "Relevance::CoreExtensions::File#extension" do
  it "should return the extension without the leading dot" do
    File.extension("foo.bar").should == "bar"
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
codez-tarantula-0.5.5 spec/relevance/core_extensions/file_spec.rb
codez-tarantula-0.5.4 spec/relevance/core_extensions/file_spec.rb
codez-tarantula-0.5.3 spec/relevance/core_extensions/file_spec.rb
codez-tarantula-0.5.1 spec/relevance/core_extensions/file_spec.rb
codez-tarantula-0.5.0 spec/relevance/core_extensions/file_spec.rb
tarantula-0.5.1 spec/relevance/core_extensions/file_spec.rb
tarantula-0.5.0 spec/relevance/core_extensions/file_spec.rb
tarantula-0.4.3 spec/relevance/core_extensions/file_spec.rb
tarantula-0.4.2 spec/relevance/core_extensions/file_spec.rb