File: symbol_spec.rb

package info (click to toggle)
libextlib-ruby 0.9.13-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 532 kB
  • ctags: 487
  • sloc: ruby: 7,120; makefile: 3
file content (8 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))

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