File: symbol_spec.rb

package info (click to toggle)
ruby-extlib 0.9.15-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 560 kB
  • ctags: 487
  • sloc: ruby: 6,992; makefile: 5
file content (9 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
require 'spec_helper'
require 'extlib/symbol'

describe Symbol, "#/" do
  it "concanates operands with File::SEPARATOR" do
    (:merb / "core").should == "merb#{File::SEPARATOR}core"
    (:merb / :core).should == "merb#{File::SEPARATOR}core"
  end
end